with one click
sniper-init
Initialize SNIPER v3 in a new or existing project
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Initialize SNIPER v3 in a new or existing project
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
| name | sniper-init |
| description | Initialize SNIPER v3 in a new or existing project |
| arguments | [{"name":"language","description":"Primary language (auto-detected if omitted)","required":false}] |
Initialize SNIPER v3 framework in the current project.
.sniper/config.yaml exists, ask user: "SNIPER is already initialized. Reinitialize? (existing config will be backed up)".sniper/config.yaml to .sniper/config.yaml.bakScan the project directory to detect:
Language (check in order):
tsconfig.json or *.ts files → TypeScriptpackage.json → JavaScriptpyproject.toml or requirements.txt → Pythongo.mod → GoCargo.toml → Rustpom.xml or build.gradle → Java--language argument or ask userPackage Manager:
pnpm-lock.yaml → pnpmyarn.lock → yarnbun.lockb → bunpackage-lock.json → npmuv.lock → uvpoetry.lock → poetryFramework:
next.config.* → Next.jsnuxt.config.* → Nuxtvite.config.* → Viteangular.json → AngularTest Runner:
vitest.config.* → Vitestjest.config.* → Jestpytest.ini or conftest.py → PytestCommands (from package.json scripts or Makefile):
test, lint, build, typecheck scriptsAsk the user (with auto-detected defaults pre-filled):
Create the following directory structure:
.sniper/
config.yaml ← Generated from template + user input + auto-detection
checkpoints/
gates/
retros/
self-reviews/
checklists/ ← Copied from @sniper.ai/core/checklists/
memory/
learnings/ ← Unified learning store (replaces signals/)
signals/ ← Legacy — kept for backward compat, migrated by memory-curator
archive/ ← Deprecated learnings archived here
.claude/
agents/ ← Copied from @sniper.ai/core/agents/
settings.json ← Merge hooks from @sniper.ai/core/hooks/
CLAUDE.md ← Generated from template
If plugins are configured (or auto-detected):
plugin.yaml.claude/personas/cognitive/.claude/settings.jsonDisplay summary:
/sniper-flow to start your first protocol".gitignore — add .sniper/checkpoints/ and .sniper/gates/ if not presentBased on SOC occupation classification
Execute a SNIPER protocol — the core execution engine
Show current SNIPER protocol progress
Submit, review, or deprecate project learnings
Manually trigger a review gate for the current phase