Language:
AgentSkeleton is an AI-first documentation guidance tool for building AI-friendly project structures through conversation.
It is built around a simple model:
- documentation blueprints are the foundation
- a CLI is the product core
- Codex and Claude Code are the primary collaboration hosts
It is designed for two primary use cases:
- guide new projects into a clear, AI-friendly documentation structure
- reshape existing projects into a documented structure that is easier for AI tools and humans to maintain together
The CLI does not replace large models. It organizes the guidance flow, captures structured context, and tells the model what documentation should exist next.
AgentSkeleton is not a business application. It is a documentation architecture guidance system.
Its job is to help users build AI-friendly repository documentation through guided conversation, without touching business code.
- Provide reusable documentation blueprints as baseline assets.
- Deliver a CLI as the primary product interface.
- Support both Codex-style agent workflows and Claude Code workflows.
- Keep the core structure shared across agent modes, with minimal adapter-specific differences.
- Help both greenfield projects and legacy project documentation reshaping.
- Keep the product focused on guidance and documentation, not business code generation.
- AI-first collaboration
- Shared structure across agent modes
- Explicit repository rules
- Stable defaults before heavy customization
- Documentation reshaping, not only greenfield setup
- New projects may adopt recommended structures; legacy projects should document and respect the structure they already have
- Direct business code generation.
- Deep language-specific project scaffolding.
- A heavy plugin system before the core workflow is proven.
The first milestone focuses on definition and structure.
- Guided documentation setup for new repositories.
- Documentation reshaping guidance for existing repositories.
- Generation of collaboration files such as
README.md,AGENTS.md, andCLAUDE.md. - Structured question flow that tells the model what to document next.
AgentSkeleton will support:
- Codex / agent mode
- Claude / Claude Code mode
The support strategy is:
- One shared core structure
- One shared documentation blueprint foundation
- Small adapter-specific instruction files where required
This keeps maintenance cost under control and avoids maintaining two separate project systems.
AgentSkeleton is intended to work alongside large models rather than replacing them.
The default expectation is:
- the CLI guides the conversation and organizes context
- Codex or Claude Code writes the actual document drafts
- humans define goals, constraints, and acceptance standards
This rule should shape both the product design and the repository workflow. See docs/principles.md for the full baseline.
For the current release track, install AgentSkeleton by building the CLI locally:
go build -o agentskeleton ./cmd/agentskeletonOr use the included local targets:
make build
make test
make smokeTo inspect the built CLI version:
./agentskeleton version --format jsonTo refresh existing context from repository facts without asking the same structural questions again:
./agentskeleton update --project /path/to/project --output-dir /path/to/output --format jsonThe repository also includes GitHub Actions workflows for CI and tagged release builds under .github/workflows/.
The target for v0.1.0 is the first public zero-command release for Codex and Claude Code.
That means:
- the CLI remains the protocol core
- host integrations carry the zero-command experience
- users should stay in conversation instead of manually operating AgentSkeleton commands
See these docs for the current release-track definition:
docs/v0.1.0-gap-analysis.mddocs/v0.1.0-implementation-plan.mddocs/known-limitations.md
Default reading order for current repository truth:
docs/current-capabilities.mddocs/features/README.mddocs/README.md
Use release-track docs only when you need a version snapshot rather than the current repository state.
Default reading order for current repository truth:
docs/current-capabilities.mddocs/features/README.mddocs/README.md
Use release-track docs only when you need a version snapshot rather than the current repository state.
.
├── AGENTS.md
├── CLAUDE.md
├── README.md
├── cmd/
├── docs/
├── internal/
└── templates/
The CLI is expected to become the main entry point for users. Initial command areas are likely to include:
init-docs: guide a new project into an AI-friendly documentation structurereshape-docs: guide an existing project through documentation reshapingplan: summarize what documents should exist nextnext: provide the next structured questions for the conversationresponse: validate/evaluate model output and optionally apply accepted answersprompt: generate initial or repair prompts from contextworkflow: run one bundled step (plan + prompt + next) with optional response apply, planned file materialization via--write-plan-files, retry repair packaging via--auto-repair, and process snapshots via--persist-traceupdate: infer safe context updates from the existing repository and refresh the plan without another confirmation roundplanandworkflownow exposecurrent_priorityso the host model knows which document should be drafted nextfocus-docturns that priority into a drafting context package, whilereview_candidatesexpose backtracking work for already-generated documentsfocus-docalso exposesreview_after_draft, so forward drafting and backward convergence are planned togetherresponse --applynow returnspost_apply_plan, so hosts can continue immediately after a successful write-back- review work is scoped to the latest change batch instead of being cached as a permanent state
focus-doccarries the currentchange_batch_idso hosts can detect stale drafting packages
See docs/agent-prompts.md for the host-model prompt expectations so structured retries work.
See docs/cli-runbook.md for the end-to-end command sequence.
See docs/host-integration.md for how Codex and Claude Code should integrate with AgentSkeleton in practice.
See docs/codex-integration.md and docs/claude-integration.md for the current official host integration artifacts.
Path defaults: use --project to identify the target project; AgentSkeleton process artifacts live under <output-dir>/.agentskeleton, while final docs and skills belong under <output-dir>/....
The first minimal CLI skeleton now exists in cmd/agentskeleton, with the output contract defined in docs/cli-contract.md.
This repository has moved beyond initial definition and now includes:
- the runnable CLI core
- host integration specs for zero-command behavior
- initial Codex and Claude Code skill artifacts
- shared host validation scenarios and report templates
- initial CI and tagged release workflow scaffolding
In the early phase, decisions should favor clarity, explicit conventions, and stable defaults over premature flexibility.
Use a Jira-style identifier in commit messages.
Recommended format:
docs [AG-001]: align product positioning and blueprint strategyfeat [AG-001]: add initial documentation guidance flowfix [AG-001]: correct document planning output