Initialize one shared repository-local skill source for Claude Code, Codex, and Pi.
.claude/skills/write-ai-doc/SKILL.md
.codex/skills -> ../.claude/skills
.pi/skills -> ../.claude/skills
docs-ai/README.md
The default is intentionally small: it includes write-ai-doc and does not
include ip-as-logo.
Run this from the project root:
npx --yes github:SunChJ/agent-project-initOr initialize an explicit directory:
npx --yes github:SunChJ/agent-project-init /path/to/projectPreview the operation without writing:
npx --yes github:SunChJ/agent-project-init --dry-runFor repeated use, install directly from GitHub:
npm install --global github:SunChJ/agent-project-init
agent-init /path/to/project- Initialization is idempotent.
- All structural conflicts are detected before any file is written.
- Existing customized
write-ai-docanddocs-ai/README.mdfiles are preserved. - Existing
.codex/skillsor.pi/skillspaths that are not the expected relative symbolic links are reported as conflicts and left untouched. - No global Claude, Codex, or Pi configuration is modified.
Requires Node.js 20 or later. Directory symbolic links must be supported by the host environment.
npm install
npm run check
npm testMIT