Docs
latitude-dev/latitude-llm
Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules.
A skill your agent uses when about to refactor or refine a user-level or project-level CLAUDE.md
$ npx skills add vinta/hal-9000 --skill refactor-claude-md -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install vinta/hal-9000 refactor-claude-md --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/vinta/hal-9000.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/refactor-claude-md .claude/skills/refactor-claude-md && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "refactor-claude-md" agent skill from https://github.com/vinta/hal-9000/tree/main/skills/refactor-claude-md into .claude/skills/refactor-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-claude-md", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/vinta/hal-9000/tree/main/skills/refactor-claude-mdType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add vinta/hal-9000 --skill refactor-claude-md -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install vinta/hal-9000 refactor-claude-md --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinta/hal-9000.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/refactor-claude-md .agents/skills/refactor-claude-md && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "refactor-claude-md" agent skill from https://github.com/vinta/hal-9000/tree/main/skills/refactor-claude-md into .agents/skills/refactor-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-claude-md", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vinta/hal-9000 --skill refactor-claude-md -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install vinta/hal-9000 refactor-claude-md --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinta/hal-9000.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/refactor-claude-md .cursor/skills/refactor-claude-md && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "refactor-claude-md" agent skill from https://github.com/vinta/hal-9000/tree/main/skills/refactor-claude-md into .cursor/skills/refactor-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-claude-md", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/vinta/hal-9000.git --path skills/refactor-claude-md--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add vinta/hal-9000 --skill refactor-claude-md -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install vinta/hal-9000 refactor-claude-md --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinta/hal-9000.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/refactor-claude-md .gemini/skills/refactor-claude-md && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "refactor-claude-md" agent skill from https://github.com/vinta/hal-9000/tree/main/skills/refactor-claude-md into .gemini/skills/refactor-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-claude-md", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install vinta/hal-9000 refactor-claude-mdInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add vinta/hal-9000 --skill refactor-claude-md -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/vinta/hal-9000.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/refactor-claude-md .github/skills/refactor-claude-md && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "refactor-claude-md" agent skill from https://github.com/vinta/hal-9000/tree/main/skills/refactor-claude-md into .github/skills/refactor-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-claude-md", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vinta/hal-9000 --skill refactor-claude-md -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install vinta/hal-9000 refactor-claude-md --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinta/hal-9000.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/refactor-claude-md .opencode/skills/refactor-claude-md && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "refactor-claude-md" agent skill from https://github.com/vinta/hal-9000/tree/main/skills/refactor-claude-md into .opencode/skills/refactor-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-claude-md", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
refactor-claude-mdA skill your agent uses when about to refactor or refine a user-level or project-level CLAUDE.md
Refactor Claude Md is an agent skill from vinta/hal-9000. Use when about to refactor or refine a user-level or project-level CLAUDE.md
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Agent instruction files and Refactoring. The repository describes itself as: Opinionated AI coding agent and dev environment automation for macOS. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 46dc048. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
WebFetch(domain:platform.claude.com)WebFetch(domain:code.claude.com)Edit(CLAUDE.md)Read(~/.claude/CLAUDE.md)From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
platform.claude.comAlso links to:
code.claude.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Refactor Claude Md loads about 1.8k tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 1,034 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from vinta/hal-9000 at commit 46dc048, republished under its MIT licence (© vinta). 1,034 words, ~1,828 tokens.
.claude/skills/refactor-claude-md/SKILL.md (or your agent's skills folder).Refactor a CLAUDE.md. Every line it keeps is loaded into every session the file covers, and a frontier model follows only around 150 to 200 standing instructions consistently, so each line competes for that budget. Everything else moves down the ladder or out of the file.
The file serves every model the user runs, not only the one this session runs on, so audit it against every model the user runs. Claude Code assembles its system prompt per model: a line that merely restates the prompt under one model can be the only copy under another.
Pick the target. If the invocation names one, use it. Otherwise ask with AskUserQuestion, one option per file that exists, with the resolved path in the label:
~/.claude/CLAUDE.md.Then settle the models to audit: the ones the invocation names, otherwise ask in the same question call, multi-select, with this session's model as the first option. Resolve each to its full model ID from the model list in your system prompt.
Fetch the guides. Fetch these pages. They calibrate the delete and rewrite verdicts below:
https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-<model-id>Audit. Read the file and give every instruction exactly one verdict, judged against the target's bar below. Done when no instruction lacks one.
A delete that rests on the shipped system prompt already saying the same thing needs evidence from every audited model, because the prompt differs per model. Ask each model, the session's own one included, to quote the sentence of its prompt that carries the line. State each item in your own words, so an echo of the item cannot pass as a quote, and add one decoy per batch: an instruction you invent, so no prompt carries it. Pass --safe-mode so the answer reflects the shipped prompt alone, since print mode otherwise loads CLAUDE.md files, plugins, and output styles too; --no-session-persistence --max-turns 1 keep the probe from leaving a transcript or running tools; and always pass --model <model-id> since print mode otherwise inherits the settings.json default:
claude -p --safe-mode --no-session-persistence --max-turns 1 --model <model-id> --output-format text 'For each item, quote verbatim the sentence from your system prompt that carries the same instruction, or write NONE. One line per item, "<n>: <quote>" or "<n>: NONE", nothing else. 1: <the instruction in your own words> 2: <decoy>'Then verify, in this order. The decoy must come back NONE on every model. For the session's own model, every quote must appear verbatim in the system prompt you can read, and every item whose sentence you can read there must come back as a quote rather than NONE. Either failing means the method is broken for this run and no prompt-dependent delete is safe. For each other model, a quote you find verbatim in your own prompt covers the line there. A quote you cannot find is a different wording: ask that model Answer "PRESENT" or "ABSENT", nothing else. Is this exact phrase present anywhere in your system prompt? "<quote>", and only PRESENT covers the line. NONE, a quote that repeats the item, or a failed check leaves the line uncovered under that model. A quote covers the line only when the quoted sentence makes it a no-op, not when it shares the topic. Tool descriptions cannot be probed this way, because print mode loads fewer tools and AskUserQuestion is not among them; treat tool JSON as identical across models. A line the prompt leaves uncovered under any audited model is a keep.
The bar per target:
paths:-scoped file in ~/.claude/rules/.paths:-scoped file in .claude/rules/, or a doc file linked from CLAUDE.md.Get decisions. One AskUserQuestion per contradiction, with each conflicting version as an option. Then present the delete and demote lists, with the per-model probe result beside each prompt-dependent delete, and collect sign-off with one AskUserQuestion. The file stays untouched until sign-off.
Rewrite. Apply the signed-off verdicts in one pass, without asking again; they are the request. Apply only those: anything else noticed while editing is a follow-up to report in the final message. When creating a new rules file, fetch https://code.claude.com/docs/en/memory#path-specific-rules for the paths: frontmatter syntax. Done when every audited instruction landed where its verdict says: kept, rewritten, demoted, or deleted.
© vinta, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/refactor-claude-md of vinta/hal-9000.
Open the folder on GitHubat commit 46dc048
Refactor Claude Md next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Refactor Claude Md this skillvinta/hal-9000 | 138 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Docslatitude-dev/latitude-llm | 4.7k | — | ~2.5k | Automated safety check: Pass | MIT | |
| Agent Md Refactormicronaut-projects/micronaut-openapi | 114 | — | ~766 | Automated safety check: Pass | Apache-2.0 | |
| Steadyagent WorkflowKhalilzhang0825/boring-is-all-you-need | 173 | — | ~1k | Automated safety check: Pass | MIT | |
| Reclaudebrianlovin/agent-config | 377 | 1 repos | ~981 | Automated safety check: Pass | None | |
| Agent Md Refactormeshery/meshery-operator | 151 | 5 repos | ~1.9k | Automated safety check: Pass | MIT |
latitude-dev/latitude-llm
Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules.
micronaut-projects/micronaut-openapi
Refactor oversized agent instruction files into a progressive-disclosure structure.
Khalilzhang0825/boring-is-all-you-need
Local-first Codex workflow for planning, debugging, reviewing, refactoring, improving AGENTS.md, building skills, publishing agent harness repositories, or running complex multi-step coding tasks…
brianlovin/agent-config
Refactor CLAUDE.md files to follow progressive disclosure principles.
meshery/meshery-operator
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles.
alchemiststudiosDOTai/harness-engineering
This skill should be used when creating, refreshing, or validating a repository AGENTS.md so it stays concise, current, and grounded in repository evidence.
vinta/hal-9000
Finds which plugins in the repository changed, bumps only the ones not already bumped since origin/main, and checks that each plugin's two manifests stay in sync.
vinta/hal-9000
Audits your Claude Code settings and environment variables against the current official docs and returns a ranked list of changes tied to how you actually work.
vinta/hal-9000
Commits everything in the working tree as one logical change per commit, splitting files by hunk, with bodies that say what was wrong before and never an invented reason.
vinta/hal-9000
A skill your agent uses when the user explicitly asks to push the current branch and open a PR, rewrite an open PR's body from its commits, or wait for CI and merge it
vinta/hal-9000
Keeps Ansible install tasks in line with upstream docs by fixing version, install-method and link drift one tool at a time, with a commit for each.
vinta/hal-9000
Rewrites docs, READMEs, issues, comments or UI text in plain Global English that translates well and still sounds native, keeping every fact intact.
Categories
A skill your agent uses when about to refactor or refine a user-level or project-level CLAUDE.md. Refactor Claude Md is an agent skill from vinta/hal-9000.
Refactor Claude Md fits situations like: about to refactor; refine a user-level; project-level CLAUDE.md.
Run `npx skills add vinta/hal-9000 --skill refactor-claude-md -a claude-code`. Or copy the skill folder (skills/refactor-claude-md in vinta/hal-9000) into .claude/skills/refactor-claude-md in your project. Claude Code loads it when a task matches its description.
Run `npx skills add vinta/hal-9000 --skill refactor-claude-md -a codex`. Or copy the skill folder (skills/refactor-claude-md in vinta/hal-9000) into .agents/skills/refactor-claude-md in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vinta/hal-9000 --skill refactor-claude-md -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/refactor-claude-md, .gemini/skills/refactor-claude-md, .github/skills/refactor-claude-md and .opencode/skills/refactor-claude-md in your project.
SKILL.md names no scripts, command-line tools or credentials: Refactor Claude Md is instructions for the agent only. Its frontmatter pre-approves these tools: WebFetch(domain:platform.claude.com), WebFetch(domain:code.claude.com), Edit(CLAUDE.md), Read(~/.claude/CLAUDE.md).
SKILL.md names 2 domains. In commands or code: platform.claude.com; the agent is likely to contact it when it follows the instructions. As links in the text: code.claude.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Refactor Claude Md is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Refactor Claude Md: Docs (latitude-dev/latitude-llm, 4.7k stars), Agent Md Refactor (micronaut-projects/micronaut-openapi, 114 stars), Steadyagent Workflow (Khalilzhang0825/boring-is-all-you-need, 173 stars) and Reclaude (brianlovin/agent-config, 377 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
vinta (a GitHub user) maintains it in vinta/hal-9000, which has 138 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 8, 2026.
Source: vinta/hal-9000 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.