ai-project-os
v0.5.0
Published
Initialize, update, and uninstall AI Project OS files in an existing project.
Maintainers
Readme
Project OS
This repository is the single source of truth for this project.
Quick Start
Initialize AI Project OS in any existing project:
curl -fsSL https://raw.githubusercontent.com/Edwin628/ai-project-os/v0.5.0/install.sh | shChoose a project document language:
curl -fsSL https://raw.githubusercontent.com/Edwin628/ai-project-os/v0.5.0/install.sh | sh -s -- --language zh-CNPreview changes without writing files:
curl -fsSL https://raw.githubusercontent.com/Edwin628/ai-project-os/v0.5.0/install.sh | sh -s -- --dry-runUpdate Project OS system files in an existing project:
curl -fsSL https://raw.githubusercontent.com/Edwin628/ai-project-os/v0.5.0/install.sh | sh -s -- update --dry-runApply the update:
curl -fsSL https://raw.githubusercontent.com/Edwin628/ai-project-os/v0.5.0/install.sh | sh -s -- updateupdate refreshes only Project OS system files and backs up overwritten files
under .project-os-backups/. Project state docs are not touched.
To change the project document language during an update:
curl -fsSL https://raw.githubusercontent.com/Edwin628/ai-project-os/v0.5.0/install.sh | sh -s -- update --language enPreview uninstall:
curl -fsSL https://raw.githubusercontent.com/Edwin628/ai-project-os/v0.5.0/install.sh | sh -s -- uninstall --dry-runRemove AI Project OS files:
curl -fsSL https://raw.githubusercontent.com/Edwin628/ai-project-os/v0.5.0/install.sh | sh -s -- uninstalluninstall backs up removed files under .project-os-backups/, deletes only
the fixed AI Project OS files, and removes directories only when they are empty.
Files that were not installed by AI Project OS or no longer match the template
are kept by default. Use --force only when you want to remove them too.
Force uninstall:
curl -fsSL https://raw.githubusercontent.com/Edwin628/ai-project-os/v0.5.0/install.sh | sh -s -- uninstall --forceYou can also install and run AI Project OS via npm:
npx [email protected] init --language same-as-user
npx [email protected] update --dry-run
npx [email protected] uninstall --dry-runOr install it globally:
npm install -g ai-project-os
ai-project-os init --language same-as-userYou can also install directly from GitHub without the npm registry:
npx github:Edwin628/ai-project-os#v0.5.0 init --language same-as-userAI tool integration
init generates thin "shim" files that point your AI tool at .project/ai-rules.md,
so the rules are loaded automatically without copying rule content.
# default: Claude Code + Codex/OpenAI (CLAUDE.md + AGENTS.md)
npx [email protected] init
# choose specific tools
npx [email protected] init --agents claude,cursor
# all supported tools
npx [email protected] init --agents all
# no AI tool shims
npx [email protected] init --agents noneSupported tools: claude (CLAUDE.md), codex (AGENTS.md), cursor
(.cursor/rules/ai-project-os.mdc), copilot (.github/copilot-instructions.md),
gemini (GEMINI.md), cline (.clinerules), windsurf (.windsurfrules).
If you already have a tool config file, AI Project OS appends a marked block
(<!-- BEGIN ai-project-os --> ... <!-- END ai-project-os -->) instead of
overwriting; update refreshes only the block, uninstall removes only the block.
Release note: publish a matching Git tag before sharing a versioned install URL.
Rules
- GitHub repository is the default project home.
- Local files are the working copy.
- Notion is optional and only used for display/collaboration.
- Every project must maintain:
- docs/STATUS.md
- docs/NEXT_ACTION.md
- docs/BACKLOG.md
- docs/DECISIONS.md
- docs/MEETINGS/
- Update project docs only when project state changes:
- status changes
- next action changes
- new tasks appear
- decisions change
- meeting notes are created
- Do not update project docs for casual chat, simple explanations, command output, or discussions that do not change project state.
