
Init AI md
Sets up and incrementally updates a project's AGENTS.md AI memory file and its skills
Init AI md is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Init AI md
Init-ai-md keeps a project's AI memory in one canonical root AGENTS.md. It scans the existing file and a set of Chinese-language section templates, flags which sections are missing, outdated or complete, and asks the user which ones to fill in. Only missing lines and paragraphs are added, so custom content is preserved rather than overwritten.
Beyond memory sections, the skill migrates legacy CLAUDE.md and GEMINI.md files into a redirect pointing at AGENTS.md, deploys a built-in record-bug-fix-memory skill into .agents/skills, and flattens older nested copies of that skill. It also builds a project skills table inside AGENTS.md that lists each skill's path, purpose and trigger conditions, and includes a mandatory governance section that is always merged.
The workflow is interactive: the skill is designed to confirm choices with the user before changing files and is written to avoid batch scripts. It expects a project with file access and the AskUserQuestion tool, and its templates and instructions are in Simplified Chinese.
When your agent uses it
初始化、迁移和增量更新项目 AI 记忆文件,以 AGENTS.md 作为唯一事实来源。 通过交互式选择和差异对比,智能补全记忆项内容。触发条件: 当用户提及初始化记忆文件、更新 AGENTS.md、迁移 CLAUDE.md/GEMINI.md、同步 AI 记忆、 init-ai-md 等关键词时主动调用。 Use when initializing, migrating, or incrementally updating project AI memory documents. The skill maintains the canonical root AGENTS.md, redirects CLAUDE.md and GEMINI.md, and manages the project-level record-bug-fix-memory skill.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 12 files (38 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the common-tools plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ruan-cat/monorepo
/plugin install common-tools@ruan-cat-toolsOr copy only this skill to ~/.claude/skills/init-ai-md:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/init-ai-md &&
cp -R "$tmp/ai-plugins/common-tools/skills/init-ai-md" ~/.claude/skills/init-ai-md &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/init-ai-md inside it instead.
Copy the skill folder to ~/.agents/skills/init-ai-md to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/init-ai-md &&
cp -R "$tmp/ai-plugins/common-tools/skills/init-ai-md" ~/.agents/skills/init-ai-md &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/init-ai-md inside it instead.
Copy the skill folder to ~/.cursor/skills/init-ai-md to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/init-ai-md &&
cp -R "$tmp/ai-plugins/common-tools/skills/init-ai-md" ~/.cursor/skills/init-ai-md &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/init-ai-md inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ruan-cat/monorepo.git --path ai-plugins/common-tools/skills/init-ai-mdOr copy the folder to ~/.gemini/skills/init-ai-md yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/init-ai-md:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/init-ai-md &&
cp -R "$tmp/ai-plugins/common-tools/skills/init-ai-md" ~/.copilot/skills/init-ai-md &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/init-ai-md inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ruan-cat/monorepo.gitThen copy monorepo/ai-plugins/common-tools/skills/init-ai-md into your agent's skills folder as init-ai-md. Agents that support SKILL.md read one folder per skill.
What it does
- Canonical AGENTS.md setup
- Creates or migrates the project's single AI memory file and redirects CLAUDE.md and GEMINI.md to it.
- Interactive section selection
- Compares existing headings with templates and lets the user choose which memory sections to add or update.
- Incremental diff merging
- Adds only missing lines or paragraphs, keeping the user's custom content intact.
- Project skills table
- Scans the .agents/skills folder and writes a table of installed skills into AGENTS.md.
- Bug-fix memory skill
- Deploys and flattens the record-bug-fix-memory skill with a split case-file layout.
Good for
- Initialize AGENTS.md for a new project
- Migrate CLAUDE.md or GEMINI.md into AGENTS.md
- Update project memory sections without overwriting custom notes
- Register installed project skills in AGENTS.md
- Set up a bug-fix experience log skill for the repository
Init AI md FAQ
When does the skill trigger?
It is meant to be invoked when the user mentions initializing memory files, updating AGENTS.md, migrating CLAUDE.md or GEMINI.md, syncing AI memory, or the skill name init-ai-md.
Does Init AI md change files without asking?
The workflow requires the user to choose which memory sections to process before editing. The CLAUDE.md and GEMINI.md redirect is a fixed migration step that does not ask for confirmation.
Will Init AI md overwrite my custom memory content?
No. The instructions say to add only missing content and to keep user-defined sections in place.
Which languages and tools does Init AI md expect?
The memory templates and generated content are written in Simplified Chinese, and the skill relies on file editing and an interactive question tool.
How do I install Init AI md in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/init-ai-md to use it in all your projects, or to .claude/skills/init-ai-md in one project. Or install the common-tools plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install common-tools@ruan-cat-tools.
Does Init AI md run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Init AI md?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Init AI md?
The closest alternatives to Init AI md are Agents md authoring, Agents md improver, Agents md, Agentsmd optimize and Wiki agents md.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ruan-cat/monorepo

Works through an OpenSpec change's task list, implementing and checking off each task
- Open source
- 5 GitHub stars
- Developer tools

Finalizes a completed OpenSpec change, syncing its specs and moving it to the archive
- Open source
- 5 GitHub stars
- Developer tools

Generates all OpenSpec planning artifacts for a change in one pass
- Open source
- 5 GitHub stars
- Developer tools

Starts a new OpenSpec change and shows its first artifact template for review
- Open source
- 5 GitHub stars
- Developer tools

Checks and normalizes package.json, tsup and tsconfig setup for monorepo Node packages
- Open source
- 5 GitHub stars
- Developer tools

Turns incident reports and repeated failures into durable, verifiable agent skill rules
- Open source
- 5 GitHub stars
- Developer tools





