Published: Updated:
AkiClaudeDoc — Claude Code baseline

AkiClaudeDoc

Open Source

One install command turns a fresh Claude Code environment into Aki’s full working baseline.

github.com/lacvietanh/AkiClaudeDoc  ·  master branch · Claude Code

AkiClaudeDoc is an open-source Claude Code baseline package (MIT License, public since 22/05/2026). A single install command turns a fresh Claude Code environment into Aki’s full working baseline: a shared rule corpus that loads itself at the right moment, plus a small set of sharp, single-purpose skills. The corpus follows a strict naming convention (RULE-* for constraints, METHOD-* for frameworks) and is routed by the akirule skill in three tiers. The GitHub repository is the single source of truth. It is not an auto-updater, daemon, package manager or control plane.

Install — one command (master branch)

curl -fsSL https://raw.githubusercontent.com/lacvietanh/AkiClaudeDoc/master/install.sh | bash

The script is intentionally simple — inspect it before running.

  • One curl command (master branch), or bash install.sh from a local checkout
  • A self-routing rule corpus: 10 RULE-* files (constraints) + 2 METHOD-* (frameworks) + index.md
  • Three-tier akirule router, deliberately high sensitivity — err toward loading over wrong behavior
  • Five skills, each sharp at one job: akirule, akithink, akihtmlreport, akihelp, akigitcommit
  • Notify-only update mechanism — never downloads, never auto-installs, no daemon
  • Open source (MIT License) since 22/05/2026 — the GitHub repo is the source of truth
  • Part of the Aki ecosystem — 5,500+ users, one shared account

Core Ideas

One-command install, full baseline

A single curl command turns a fresh Claude Code environment into Aki’s full working baseline. You can also run bash install.sh from a local checkout. The script is intentionally simple so you can inspect it before running.

A rule corpus that routes itself by naming

A strict naming convention: RULE-*.md are constraints (what Claude must or must not do — behavior, coding, docs, content, stack, SEO, release, DB design); METHOD-*.md are analytical frameworks, heavy, loaded only when the task genuinely needs them; index.md holds the manifest, precedence order and project-binding policy.

Three-tier akirule router

akirule routes with deliberately high sensitivity (err toward loading): Tier 1 core loads every conversation (index.md, RULE-agent-behavior, RULE-coding) via @path embed syntax; Tier 2 contextual is read on signal match; Tier 3 is the analytical METHODs. No harness magic — Tiers 2–3 are just trigger instructions telling Claude to Read the file from ~/.aki/claudedoc/ when signals match.

Five skills, each sharp at one job

akirule (automatic rule router), akithink (a 5-phase deep-thinking session ending in a docs/ decision record), akihtmlreport (distills a dense in-conversation analysis into one self-contained REPORT.html), akihelp (a live intro to the installed Aki system, rendered at runtime so it never goes stale), akigitcommit (turns a messy working tree into a few clean Conventional Commits, stages by path, never git add -A or auto-pushes).

One brain, two thinking modes

METHOD-deep-think.md is a single analytical brain (goal excavation, first principles, mandatory critique, conditional techbiz lens) consumed two ways: Passive — akirule auto-loads it inline when a normal task hits a signal ("should we…", "is it worth…"), applied briefly, at most one clarifying question; Active — run /akithink to drive the same METHOD through a full 5-phase protocol at maximum depth.

Update notifications — notify-only

A SessionStart hook compares the installed CHANGELOG.md against the public repo copy (at most once per 24h, fail-silent, non-blocking). When the remote is newer it only prints what’s new and the manual update command (git pull && bash install.sh). It never downloads or installs anything on its own.

The akirule router — three tiers

Tier 1 — Core

Loads every conversation via @path embed: index.md, RULE-agent-behavior.md, RULE-coding.md.

Tier 2 — Contextual

Read on signal match: design-core, docs, content-write, stack-akiNuxtCf, ui-pattern, seo, release, db-design.

Tier 3 — Methods

Analytical frameworks, loaded only when genuinely needed: METHOD-flow-audit, METHOD-deep-think.

Five skills, each sharp at one job

akirule

automatic

A smart rule router, running on every conversation; hidden from the / menu.

akithink

/akithink

A 5-phase deep-thinking session ending in a docs/ decision record.

akihtmlreport

/akihtmlreport

Distills a dense in-conversation analysis into one self-contained REPORT.html.

akihelp

/akihelp

A live intro to the installed Aki system, rendered at runtime so it never goes stale.

akigitcommit

/akigitcommit

Turns a messy tree into a few clean Conventional Commits; stages by path, never git add -A, never auto-pushes.

Author

Lạc Việt Anh  —  founder of the Aki ecosystem. AkiClaudeDoc distills how he works with Claude Code across the ecosystem into a shared baseline, released as open source under the MIT License so the community can reference and reuse it.

AkiClaudeDoc belongs to the ecosystem’s dev-tooling layer, tied to AkiDEV (dev.akitao.com) — which hosts the docs page and the install wrapper. See related projects: AkiDEV and Aki Dev Sync.

Frequently Asked Questions

What is AkiClaudeDoc?
AkiClaudeDoc is an open-source Claude Code baseline package. With one install command it turns a fresh Claude Code environment into Aki’s full working baseline: a shared rule corpus that loads itself at the right moment, plus a small set of sharp, single-purpose skills.
How do I install AkiClaudeDoc?
Run: curl -fsSL https://raw.githubusercontent.com/lacvietanh/AkiClaudeDoc/master/install.sh | bash (note the branch is master, not main). You can also run bash install.sh from a local checkout. The script is intentionally simple — inspect it before running.
What does AkiClaudeDoc install, and where?
payload/* is synced into ~/.aki/claudedoc/ (excluding ref-ECC/): index.md, ten RULE-* files and two METHOD-* files. Skills under claude/skills/* are copied into ~/.claude/skills/. The installer also replaces ~/.claude/CLAUDE.md with the packaged guidance (backup first), creates ~/.claude/CLAUDE.local.md only if missing (never overwritten afterward — the place for per-machine rules), updates ~/.claude/settings.json, and installs the aki-update-check.py hook.
How does akirule decide which rules load, and when?
Three tiers with deliberately high sensitivity (a few wasted tokens beats wrong behavior). Tier 1 core loads on every conversation: index.md, RULE-agent-behavior.md, RULE-coding.md. Tier 2 contextual is read on signal match: design-core, docs, content-write, stack-akiNuxtCf, ui-pattern, seo, release, db-design. Tier 3 is the analytical METHODs (flow-audit, deep-think), loaded only when the task is genuinely analytical.
Does it auto-update my machine?
No. It is notify-only, never auto-installing. A SessionStart hook compares the installed CHANGELOG against the public copy (at most once per 24h, fail-silent, non-blocking); when there’s a newer version it only prints the changes and the manual update command (git pull && bash install.sh). The Git repo is the source of truth — not an auto-updater, daemon, or package manager.
How do I uninstall AkiClaudeDoc?
Delete: rm -rf ~/.aki/claudedoc; rm -rf ~/.claude/skills/{akirule,akithink,akihtmlreport,akihelp,akigitcommit}; rm -f ~/.claude/hooks/aki-update-check.py. Then remove the AkiClaudeDoc block from ~/.claude/CLAUDE.md and its entries (permission, skillOverrides, SessionStart hook) from ~/.claude/settings.json if desired.

One command. The same baseline. The Git repo is the source of truth.

View on GitHub