adding-a-command
Creates a new CLI command following the Commander.js pattern in src/commands/. Handles command registration in src/cli.ts,…
Saves user instructions as persistent learnings for future sessions. Use when the user says 'remember this', 'always do X', 'from now on', 'never do Y', or gives any instruction they want persisted across sessions. Proactively suggest when the user states a preference,
Claude Code
$ npx -y skills add caliber-ai-org/ai-setup --skill save-learning --agent claude-code
Codex
$ npx skills add caliber-ai-org/ai-setup --skill save-learning -a codex -y
Cursor
$ npx skills add caliber-ai-org/ai-setup --skill save-learning -a cursor -y
Gemini CLI
$ npx skills add caliber-ai-org/ai-setup --skill save-learning -a gemini-cli -y
GitHub Copilot
$ npx skills add caliber-ai-org/ai-setup --skill save-learning -a github-copilot -y
OpenCode
$ npx skills add caliber-ai-org/ai-setup --skill save-learning -a opencode -y
Windsurf
$ npx skills add caliber-ai-org/ai-setup --skill save-learning -a windsurf -y
name: save-learning description: Saves user instructions as persistent learnings for future sessions. Use when the user says 'remember this', 'always do X', 'from now on', 'never do Y', or gives any instruction they want persisted across sessions. Proactively suggest when the user states a preference, convention, or rule they clearly want followed in the future.
Save a user's instruction or preference as a persistent learning that will be applied in all future sessions on this project.
1. Detect when the user gives an instruction to remember, such as:
2. Refine the instruction into a clean, actionable learning bullet with an appropriate type prefix:
3. Show the refined learning to the user and ask for confirmation 4. If confirmed, run:
caliber learn add "<refined learning>"
For personal preferences (not project-level), add `--personal`:
caliber learn add --personal "<refined learning>"
5. Stage the learnings file for the next commit:
git add CALIBER_LEARNINGS.md
User: "when developing features, push to next branch not master, remember it" -> Refine: `**[convention]** Push feature commits to the \`next\` branch, not \`master\`` -> "I'll save this as a project learning: **[convention]** Push feature commits to the \`next\` branch, not \`master\` Save for future sessions?" -> If yes: run `caliber learn add "**[convention]** Push feature commits to the next branch, not master"` -> Run `git add CALIBER_LEARNINGS.md`
User: "always use bun instead of npm" -> Refine: `**[preference]** Use \`bun\` instead of \`npm\` for package management` -> Confirm and save
User: "never use any in TypeScript, use unknown instead" -> Refine: `**[convention]** Use \`unknown\` instead of \`any\` in TypeScript` -> Confirm and save
Continuously sync your AI setups with one command. Codebase tailor suited agent skills, MCPs and config files for Claude Code, Cursor, and Codex.
Creates a new CLI command following the Commander.js pattern in src/commands/. Handles command registration in src/cli.ts,…
Writes Vitest tests following project patterns: __tests__/ directories, vi.mock() for module mocking with vi.hoisted() for…
Discovers and installs community skills from the public registry. Use when the user mentions a technology, framework, or task…
Adds a new LLM provider implementing LLMProvider interface with call() and stream() methods. Integrates with provider factory in…
Add a new deterministic scoring check in src/scoring/checks/ that evaluates config quality. Follows the Check[] return pattern,…
Sets up Caliber for automatic AI agent context sync. Installs pre-commit hooks so CLAUDE.md, Cursor rules, and Copilot…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…