akili-specs
AGENTS.md10 starsChanged 10 days agoMITView on GitHub
This repository packages the AKILI-SPECS methodology for Claude Code, OpenCode, Google Antigravity, OpenAI Codex CLI, Cursor, and Grok Bot.
- Installs packages
- Commits and pushes
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository35 other files it gives its agents.
- .claude/skills/react-doctor/AGENTS.mdAGENTS.md
- .claude/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-agent-developmentSkill
- angular-developerSkill
- api-design-principlesSkill
- aws-serverlessSkill
- brainstormingSkill
- cavemanSkill
- cognitive-doc-designSkill
- diagram-designSkill
- error-handling-patternsSkill
- frontend-designSkill
- golang-proSkill
- gsap-animationSkill
- impeccable-bridgeSkill
- impeccableSkill
- judgment-daySkill
- kaizenSkill
- nestjs-expertSkill
- product-manager-toolkitSkill
- pr-reviewSkill
- react-doctorSkill
- security-auditSkill
- seo-auditSkill
- shadcn-uiSkill
- social-marketingSkill
- software-architectSkill
- stitch-designSkill
- systematic-debuggingSkill
- tailwind-design-systemSkill
- tddSkill
- ui-ux-pro-maxSkill
- vercel-react-best-practicesSkill
- video-productionSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
47 rules. About 0 are common, 9 are distinctive, and 38 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
38
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Read docs/release-checklist.md before preparing or publishing a package release.
- Distinctive: line 23
Keep command prompts readable and tool-agnostic where possible.
- Distinctive: line 24
Do not add project-specific assumptions to reusable commands.
- Very specific: line 25
Keep installer behavior safe: skip existing files by default and require --force to overwrite.
- Very specific: line 27
Do not commit generated .tgz files or node_modules/.
- Very specific: line 28
Do not commit service account keys, npm tokens, .npmrc, or local MCP config containing secrets.
- Very specific: line 29
Spec-to-Code Traceability: Every commit made during /akili-execute must be prefixed with [SPEC:<spec-path>] (e.g.
- Very specific: line 32
Pivot Protocol: If execution invalidates approved specs, the agent must mark tasks blocked ([~]), record pivot details in execution.md, and …
- Very specific: line 33
Drift Auditing: Run /akili-audit to detect differences between active codebase reality and the active UX/UI design and TRD.
- Very specific: line 45
When working on tasks in this repository or when using the installed AKILI-SPECS methodology, load and apply the relevant available skills …
- Very specific: line 47
Use the packaged skills in .claude/skills/ as the source of truth.
- Very specific: line 49
Use systematic-debugging for bugs, test failures, and unexpected behavior.
- Very specific: line 50
Use tdd for test-first implementation of logic-heavy tasks (algorithms, business rules, contracts).
- Very specific: line 51
Use video-production for specs whose Document Control records Deliverable: video.
- Very specific: line 52
Use judgment-day for blind adversarial design reviews during /akili-specify.
- Very specific: line 53
Use kaizen for continuous-improvement retrospectives.
- Very specific: line 54
Use software-architect for TRD creation, NFR/quality-attribute identification, architecture style and pattern selection, and robust-vs-lite …
- Very specific: line 56
Use cognitive-doc-design when writing human-facing docs (PRD, TRD, requirements, reports, PR descriptions): lead with the answer, …
- Very specific: line 57
Use caveman for transient agent output only (inter-agent messages and progress narration in /akili-execute and /akili-test): compress …
- Very specific: line 58
Use react-doctor and vercel-react-best-practices for React/Next.js changes.
- Very specific: line 59
Use angular-developer for Angular projects, components, services, routing, forms, signals, SSR, accessibility, styling, animations, …
- Very specific: line 60
Use domain skills such as nestjs-expert, aws-serverless, api-design-principles, or product-manager-toolkit when the task matches.
- Very specific: line 61
Use seo-audit for SEO audits and diagnosis.
- Very specific: line 62
Use security-audit for repository vulnerability discovery.
- Very specific: line 63
Use social-marketing for social media drafting (LinkedIn, Instagram, Facebook): brand voice, campaigns, calendar and posts.
- Very specific: line 64
Use pr-review for read-only pull-request and diff review (lenses, verified findings, one summary comment).
- Distinctive: line 66
If a task document lists required or recommended skills, follow that list first.
- Very specific: line 103
Use CodeGraph for existing-project analysis, symbol lookup, call flow, and impact checks when .codegraph/ exists.
- Very specific: line 104
Do not commit generated CodeGraph database files.
- Very specific: line 105
Keep .codegraph/config.json focused on repository source and methodology scripts, not large snapshots or generated outputs.
- Very specific: line 106
If CodeGraph is unavailable in another project, continue with normal Glob, Grep, and file reads.
- Distinctive: line 114
Do not publish directly from uncommitted changes.
- Very specific: line 115
Every package-affecting repo change must have CHANGELOG.md notes before release preparation.
- Very specific: line 116
Every stable npm update must use scripts/release.js through npm run release:patch, npm run release:minor, or npm run release:major.
- Very specific: line 118
Do not claim npm is updated until npm publish succeeds and a post-publish smoke test confirms the published version.
- Distinctive: line 119
If publish fails, keep the release commit, document the blocker, and do not create a replacement version unless the failed version was …
- Very specific: line 120
Use npm run release:status before and after publishing to detect drift between npm, tags, GitHub Releases, and local release files.
- Very specific: line 121
Keep the Release Status GitHub Actions workflow aligned with npm run release:status.
- Very specific: line 123
Use this flow (feat/<name> / fix/<name> → dev → master.
- Very specific: line 125
Add change notes under CHANGELOG.md > Unreleased.
- Very specific: line 137
Commit the release version update on that branch — the script's git add hint also names .claude/templates/digests.json (the new dense …
- Distinctive: line 139
After it merges, on an up-to-date master, in this order:
- Very specific: line 143
verify npm view akili-specs dist-tags in its own command
- Very specific: line 153
Run the same command without --dry-run (optional --otp=<code>).
- Distinctive: line 157
Use patch for small docs/fixes, minor for new commands or install targets, and major for breaking changes.
- Distinctive: line 161
Before committing package or installer changes, run:
- Distinctive: line 170
When installer behavior changes, also test temporary targets:
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Guidance
This repository packages the AKILI-SPECS methodology for Claude Code, OpenCode, Google Antigravity, OpenAI Codex CLI, Cursor, and Grok Bot.
Repository Purpose
.claude/is the canonical source for all six install targets (Claude Code, OpenCode, Antigravity, Codex, Cursor, Grok Bot), not Claude-only config — the installer maps it into each tool's layout, and it lives at that literal path because this repo dogfoods its own methodology in Claude Code sessions. There is no per-tool copy: edits for any target happen here..claude/commands/contains installable AKILI-SPECS command prompts..claude/skills/contains installable methodology skills..claude/templates/contains the default Leader, Implementer, Reviewer, and Tester personas used by the AKILI multi-agent harness, each fenced into AKILI-owned sections (<!-- akili:section id=… since=… -->) with one project block, plusdigests.json— the per-release section-hash tablescripts/release.jswrites andakili doctor --agentsreads./akili-constitutioncopies the personas into each project's.agents/directory;akili doctor --agents --fixupgrades deployed copies section by section (seedocs/cli.md→ Persona Drift).bin/akili.jsinstalls commands, skills, and helper resources (including the agent templates anddigests.json) into Claude Code, OpenCode, Google Antigravity, OpenAI Codex CLI, Cursor, and Grok Bot config directories, runsdoctor --agentsagainst a project's.agents/, and runsakili routing(the model-routing configurator/akili-constitutionStep 8C delegates to).bin/routing.jsis the pure module behindakili routing(flag grammar, tier derivation, registry-section rendering, the six-stateAGENTS.mdfence replacer, the five host wrapper shapes,buildPlan, and thecollectAnswersprompt seam, and the pure keyboard-select reducer behind the interactive prompts);bin/akili.jsonly collects answers, snapshots the project, and applies the plan. Its inputs ship under.claude/templates/asmodel-registry.jsonandmodel-routing.section.md, read from the package directory and never installed into a target.bin/persona.jsholds the pure persona functions behinddoctor --agents(parsePersona,sectionStates,applyFix,migratePersona, the digest helpers);bin/akili.jsandscripts/release.jsrequire it.test/holds thenode:testsuite and its fixtures (npm test;.gitattributeskeepstest/fixtures/**byte-exact so CRLF and LF fixtures survive any checkout;test/routing-pty.test.jsdrives the CLI on a real pseudo-terminal throughexpect— present on macOS, installed by the Linux CI step, absent on Windows where the suite skips with a printed reason; a failed run's transcripts are kept underAKILI_PTY_LOG_DIRand uploaded by the Linux CI legs aspty-transcripts-*); it is not shipped in the package.scripts/contains helper scripts, includingscripts/release.js, which prepares controlled npm package releases.- Read
docs/release-checklist.mdbefore preparing or publishing a package release. - This repository holds the methodology only and has no cloud infrastructure. The hosted AKILI MCP service lives in a separate private repository: do not add MCP server, AWS or deploy code here.
README.mddocuments installation and methodology usage.- Default Branch: master
- Integration Branch: dev
Development Rules
- Keep command prompts readable and tool-agnostic where possible.
- Do not add project-specific assumptions to reusable commands.
- Keep installer behavior safe: skip existing files by default and require
--forceto overwrite. - Branch model:
masteranddevare protected: changes land only through a pull request with 0 approvals, the sixCLI on <os> / Node <18|22>checks green and the branch up to date, enforced for admins too.feat/<name>andfix/<name>branch fromdevand open their PR intodev. Agents never commit to or pushdevormasterdirectly. - Do not commit generated
.tgzfiles ornode_modules/. - Do not commit service account keys, npm tokens,
.npmrc, or local MCP config containing secrets. - Spec-to-Code Traceability: Every commit made during
/akili-executemust be prefixed with[SPEC:<spec-path>](e.g.[SPEC:changes/add-remember-me] message). Trivial fast-tracked changes made via/akili-quickuse the[SPEC:quick/<name>]prefix plus a one-line entry indocs/specs/quick/quick-log.md. - Trivial Fast-Track (
/akili-quick): Genuinely trivial, low-risk changes (copy edits, color/spacing tweaks using existing design tokens, small static text additions) may skip the full specify → execute → test → validate flow via/akili-quick, which makes the edit in one step and records minimal traceability. It has a strict triviality gate (cosmetic/copy-only, no behavior/data/API/auth/contract change, ≤ ~20 LOC in one component, not a video composition, design-token safe) and must auto-escalate to/akili-specify(Lite) or/akili-proposewhen a change exceeds that gate. Never route real features or logic changes through/akili-quick. - Request Classification & Bug Handling:
/akili-proposeis the single entry point that classifies each request as Bug, Change, or Trivial (inferring from the request, asking one question if ambiguous) and routes it — the methodology adds no per-type command. Bugs follow a Bug Track: diagnose first (reproduction + confirmed root cause viasystematic-debugging) in the proposal's Bug Diagnosis section, then/akili-specifyruns in Bug Mode, which frames requirements around the corrected behavior and requires a regression test (red before the fix, green after). A purely cosmetic bug may still use/akili-quick; never propose a fix for a guessed root cause. - Pivot Protocol: If execution invalidates approved specs, the agent must mark tasks blocked (
[~]), record pivot details inexecution.md, and obtain user sign-off. - Drift Auditing: Run
/akili-auditto detect differences between active codebase reality and the active UX/UI design and TRD. - CodeGraph Re-indexing: Remind or execute the re-indexing command during
/akili-archiveto keep CodeGraph databases healthy. - Agent Guide Inheritance: Root
CLAUDE.md/AGENTS.mdare the parent; modules with divergent conventions carry thin child guides referenced from a## Module Guidesindex in the parent./akili-executerecords## Constitution Impactnotes when tasks create or reshape modules;/akili-archivesyncs the guides and the CodeGraph;/akili-auditflags guide drift. - Multi-Agent Harness:
/akili-executeruns each task through a Leader → Implementer → Reviewer loop with a hard 3-attempt rework ceiling; the Reviewer is owed unless the task clears the Review intensity predicate (/akili-executeStep 2.3), and the non-author evidence re-run is never waived./akili-testruns a Leader → Tester(s) harness where the Leader partitions testing into suites and delegates each to a Tester subagent (inline for trivial/Lite work; one Tester per independent suite, in parallel, otherwise), each with a bounded self-correction inner loop and aPASS/FAIL/PRODUCT_BUGoutput contract. Personas live in.claude/templates/(source) and project.agents/(deployed by/akili-constitution). Do not collapse these loops back into a single-agent flow. - Kaizen Loop (two-phase, branch-safe):
/akili-archiveruns a bounded retrospective (measure → learn → standardize → record) on every archive via the packagedkaizenskill. The retrospective phase runs on any branch and writes one entry file per spec at the target project'sdocs/specs/kaizen/<safe-spec-slug>.md, recording each proposed standardization as a pending item. The apply phase runs only on the apply-capable branch (the default branch, or the pinned integration branch when one exists — never both) — reached through the skill's Apply Mode ("apply pending kaizen standardizations"), offered automatically by/akili-archivewhen it already runs there, and surfaced by/akili-resume— where the HITL menu fires, each approved item is re-verified before writing (a refuted one closes assupersededinstead), approved edits to shared files are made, and the## Active Lessonsdigest indocs/specs/kaizen-log.mdis refreshed; that apply phase is the digest's single writer, and the log's legacy## Entriessection is frozen. Lessons require a root cause + cited evidence; no shared file is ever edited from a spec branch, or from the default branch while an integration pin exists, approved or not;/akili-propose,/akili-specify,/akili-execute, and/akili-resumeread only the## Active Lessonsdigest. Lessons whose root cause is AKILI itself are recorded as aKind: upstreampending item and collected into an upstream report at apply time, flipping toupstreamed— apply the same loop when iterating this repo (dogfooding), where Apply Mode runs on an up-to-datedevcheckout, its uncommitted edits move to akaizen/apply-<YYYY-MM-DD>branch withgit switch -cbefore the commit, and they land through a PR intodev. Do not add a separate kaizen command: Apply Mode is an activation of the existing skill. - Concurrency: one AKILI session per checkout. Additional sessions run on
git worktree— this is the conflict case the Delegation Thresholds isolation rule names, and the only one that earns a separate checkout. Two sessions in one tree interleave commits, overwrite each other'stasks.mdtransitions, and append to the sameexecution.mduntil the audit trail stops being an account of what happened. Separately: never run a measurement command — build, benchmark, Lighthouse, E2E — while a delegated agent is active. Measuring feels passive and is not: it competes fornode_modules, ports, lockfiles, and build output, so a measurement taken beside a running Implementer is not slow but wrong, and it surfaces as an inexplicable worker error rather than as your own action. Measure in the window after the completion report, when the tree is quiet. Under parallel sessions, commit-message discipline also stops being cosmetic — the message becomes the only surviving record of which session did what, so never let reasoning narration land as a commit message. - Scope only grows through approval. An
ADVISORYfinding is recorded and dies there: it may never become a new task in the running spec, and no existing task may be widened to absorb it. Advisories are the least-vetted output of a run, so that path grows scope fastest from the weakest evidence — and a task absent from the approvedtasks.mdcarries no requirement, no design decision, and no budget line. An advisory that genuinely cannot wait is a spec gap: escalate via the Pivot Protocol so the user reopens the spec, rather than routing around the approval gate. - Skill Governance: the packaged skill set is curated, not accumulated. Every skill under
.claude/skills/declares original author + license and ametadata.bindinglevel —core(hard-wired to a command step),conditional(loaded when the work touches its domain, e.g. UI or animation), orstack(never referenced in command text; reaches agents via the project## Skill Mapscaffolded by/akili-constitutionStep 8D and per-task skill lists intasks.md). New skills must pass the acceptance checklist indocs/skills/governance.md(need + binding + attribution + size + docs/CHANGELOG); a skill referenced by no command and no Skill Map is dead weight and must be removed or re-bound. Adaptation preserves original authorship (adapted-by, never replacingauthor). - Model Routing: enforced for subagents, guided for the main loop. Model selection per AKILI-SPECS phase is documented in
docs/model-routing.md(capability tiers + a per-tool registry) and scaffolded into each project's rootAGENTS.mdby/akili-constitution(Step 8C, which runsakili routing). Never add amodel:key to command frontmatter and never inject models in the installer —akili routingwrites them only at the user's request, into agent wrappers and the project registry, never into commands; a single value cannot serve both Claude Code (opus/sonnet/haiku) and OpenCode (provider/model), and it would break the model-agnostic install. Enforced bindings live only in the Step 8E tool-native agent wrappers (.claude/agents/akili-*.md/ OpenCode agent config /.agents/agents/akili-*/agent.mdfor Antigravity /.codex/agents/akili-*.tomlfor Codex /.cursor/agents/akili-*.mdfor Cursor), which pin each persona to its tier's model where the host has a wrapper value for that pick (an Antigravity Gemini 4 Argon pick has none, so that role is skipped and reported);/akili-executeand/akili-testprefer those named agents when present. The Reviewer must run on a different model than the Implementer (author ≠ auditor). Alias-first rule: registries use floating aliases (opus/sonnet/haiku) wherever they exist so model generations change without edits; dated pins require a recorded reason. Commands emit a one-line, never-blocking model checkpoint in their setup step./akili-auditreports Model Registry Drift; each release refreshes the default registry indocs/model-routing.md.
Skill Usage
When working on tasks in this repository or when using the installed AKILI-SPECS methodology, load and apply the relevant available skills before implementation.
Use the packaged skills in .claude/skills/ as the source of truth. Examples:
- Use
systematic-debuggingfor bugs, test failures, and unexpected behavior. - Use
tddfor test-first implementation of logic-heavy tasks (algorithms, business rules, contracts); the/akili-executeLeader assigns it per task — expected values come fromrequirements.mdscenarios, seams fromdesign.md. - Use
video-productionfor specs whose Document Control recordsDeliverable: video; it runs the availability gate for the environment-providedhyperframesskills and maps video activities to AKILI phases (read the matchingreferences/file for the task). - Use
judgment-dayfor blind adversarial design reviews during/akili-specify. - Use
kaizenfor continuous-improvement retrospectives;/akili-archiveloads it in its Kaizen Retrospective step. - Use
software-architectfor TRD creation, NFR/quality-attribute identification, architecture style and pattern selection, and robust-vs-lite stack sizing;/akili-constitutionloads it in its TRD step and/akili-specifyfor architecturally significant designs (read only the matchingreferences/file per task). - Use
diagram-designwhen a baseline doc (PRD, UX/UI design, TRD) or an architecturally significantdesign.mdcarries diagram slots: inline Mermaid is canonical, and an Archify interactive view is linked only when thearchifyskill is installed;/akili-constitutionSteps 3–5,/akili-specifyStep 2.1, and/akili-archiveStep 2 load it. - Use
cognitive-doc-designwhen writing human-facing docs (PRD, TRD, requirements, reports, PR descriptions): lead with the answer, progressive disclosure, tables over prose. - Use
cavemanfor transient agent output only (inter-agent messages and progress narration in/akili-executeand/akili-test): compress style, never documents, HITL gates, or verbatim evidence —cognitive-doc-designowns artifacts;cavemanowns transient agent output. - Use
react-doctorandvercel-react-best-practicesfor React/Next.js changes. - Use
angular-developerfor Angular projects, components, services, routing, forms, signals, SSR, accessibility, styling, animations, testing, and CLI tooling. - Use domain skills such as
nestjs-expert,aws-serverless,api-design-principles, orproduct-manager-toolkitwhen the task matches. - Use
seo-auditfor SEO audits and diagnosis;/akili-seoloads it in its audit phase. - Use
security-auditfor repository vulnerability discovery;/akili-securityloads it (full audit mode); guidance mode for focused security questions. - Use
social-marketingfor social media drafting (LinkedIn, Instagram, Facebook): brand voice, campaigns, calendar and posts;/akili-marketingloads it, and it drafts only, never publishes. - Use
pr-reviewfor read-only pull-request and diff review (lenses, verified findings, one summary comment);/akili-reviewloads it, and it reviews only, never editing, approving or blocking.
If a task document lists required or recommended skills, follow that list first.
Design Skills
Impeccable decides what and why; the stack decides how. One lead skill per activity; the environment picks the column, the activity the row. Direction is settled before /akili-execute, which builds code-led. Every UI task ends with polish, and the AKILI Reviewer stays the gate.
impeccable— lead design skill: direction, craft floor, critique, audit, polish (vendored, verbatim).impeccable-bridge— AKILI layer: engine gate, phase map, design source of truth, routing matrix.ui-ux-pro-max— reference catalog: palettes, font pairings, UX rules.frontend-design— fallback for direction and craft when Impeccable is missing (ENV-0 lead only).stitch-design— Stitch mockups and screen generation, on request.gsap-animation— GSAP motion and scroll-driven animation work.tailwind-design-system— Tailwind v4 tokens and component patterns.shadcn-ui— shadcn/ui component implementation.
The routing matrix is .claude/skills/impeccable-bridge/references/design-routing.md.
Backend Skills
The method skill decides what and why; the stack skill decides how in this language or framework. One lead per activity and context; supporting skills give inputs, not rules. Stack skills reach agents through the project ## Skill Map and per-task skill lists.
software-architect— style, NFR scenarios, tactics, patterns, ADRs, robust-vs-lite sizing.api-design-principles— REST and GraphQL resource model, versioning, pagination, error responses.error-handling-patterns— error-handling philosophies, error categories, circuit breaker, graceful degradation.tdd— red-green loop, seams, test anti-patterns (assigned by the Leader).systematic-debugging— root cause before fix, four phases.nestjs-expert— stack skill: Nest modules, DI, controllers, guards, Jest/Supertest; leadsimplementon NestJS.golang-pro— stack skill: concurrency, interfaces, generics, error wrapping, pprof, table-driven tests; leadsimplementon Go.aws-serverless— stack skill: Lambda handler, API Gateway, SQS patterns, serverless anti-patterns; leadsimplementon AWS serverless.ai-agent-development— stack skill: agent framework and runtime selection, hosting, state, tools, memory, HITL; leads framework-selection for agents.
The routing matrix is .claude/skills/software-architect/references/backend-routing.md.
CodeGraph
This repository has CodeGraph initialized under .codegraph/ for faster semantic code exploration.
- Use CodeGraph for existing-project analysis, symbol lookup, call flow, and impact checks when
.codegraph/exists. - Do not commit generated CodeGraph database files;
.codegraph/.gitignoreexcludes local database artifacts. - Keep
.codegraph/config.jsonfocused on repository source and methodology scripts, not large snapshots or generated outputs. - If CodeGraph is unavailable in another project, continue with normal
Glob,Grep, and file reads.
Release Rules
Repository changes do not automatically update the npm package. A package update requires a version bump and publish.
Release governance:
- Do not publish directly from uncommitted changes.
- Every package-affecting repo change must have
CHANGELOG.mdnotes before release preparation. - Every stable npm update must use
scripts/release.jsthroughnpm run release:patch,npm run release:minor, ornpm run release:major. Prereleases usenpm run release:nextonly (see Prereleases (next)). - Publish only after verification passes and npm authentication is confirmed for a package maintainer.
- Do not claim npm is updated until
npm publishsucceeds and a post-publish smoke test confirms the published version. - If publish fails, keep the release commit, document the blocker, and do not create a replacement version unless the failed version was actually published.
- Use
npm run release:statusbefore and after publishing to detect drift between npm, tags, GitHub Releases, and local release files. - Keep the
Release StatusGitHub Actions workflow aligned withnpm run release:status.
Use this flow (feat/<name> / fix/<name> → dev → master; nothing is committed or pushed to dev or master directly, admins included):
- Add change notes under
CHANGELOG.md>Unreleased; they land ondevthrough feature PRs. Prepare the release: cut
release/vX.Y.Zfrom an up-to-datedev, then run one of:npm run release:patchnpm run release:minornpm run release:major
Run verification:
npm run verify:clinpm run pack:dry-runnpm run release:statusgit diff --check
Commit the release version update on that branch — the script's
git addhint also names.claude/templates/digests.json(the new densereleasesentry) and any template whosesince=marker it rewrote — and open a PR intodev.- Open a PR
dev→masterand merge it with a merge commit. - After it merges, on an up-to-date
master, in this order:git tag vX.Y.Z, thengit push origin vX.Y.Z- confirm npm auth with
npm whoami --registry=https://registry.npmjs.org/ - publish explicitly with
npm publish --access public --registry=https://registry.npmjs.org/ - verify
npm view akili-specs dist-tagsin its own command gh release create- smoke test the published version with
npx akili-specs@<version> list
- Resync
dev: branchsync/master-into-devfromdev, rungit merge origin/master, open a PR intodev, and merge it with a merge commit. Squash or rebase here would leavemaster's merge commit outsidedev, so the nextdev→masterPR would not be up to date.
Prereleases (next)
To let users try dev before a stable release, start from an up-to-date dev (on dev, clean working tree, HEAD equal to origin/dev):
npm run release:next -- <patch|minor|major> --dry-runand read the plan.- Run the same command without
--dry-run(optional--otp=<code>).
It publishes X.Y.Z-next.N with --tag next and never touches latest. The version is written to package.json only for the duration of the publish and is never committed. Try it with npm i akili-specs@next.
Use patch for small docs/fixes, minor for new commands or install targets, and major for breaking changes.
Verification
Before committing package or installer changes, run:
npm test
npm run verify:cli
npm run pack:dry-run
git diff --checkWhen installer behavior changes, also test temporary targets:
node bin/akili.js install --tool all --dry-run
node bin/akili.js doctor --tool allDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

