Agent skill

Agents Md Mastery

by tctinh in tctinh/agent-hive

A skill your agent uses when bootstrapping, updating, or reviewing AGENTS.md — teaches what makes effective agent memory, how to structure sections, signal vs noise filtering, and when to prune…

Custom licenceAuto-check passedAgent Workflows

Install Agents Md Mastery

skills CLI
$ npx skills add tctinh/agent-hive --skill agents-md-mastery -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tctinh/agent-hive agents-md-mastery --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tctinh/agent-hive.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/agents-md-mastery .claude/skills/agents-md-mastery && rm -rf skills-src

Use ~/.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/

Facts

Skill name
agents-md-mastery
GitHub stars
158
Token cost
~1.9k tokens
SKILL.md length
772 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when bootstrapping, updating, or reviewing AGENTS.md — teaches what makes effective agent memory, how to structure sections, signal vs noise filtering, and when to prune…

  • Works in 4 steps: Draft the proposed additions → Review each proposal → Accept signal, reject noise → …
  • Reviewing AGENTS.md — teaches what makes effective agent memory
  • SKILL.md covers Overview, The Iron Law, When to Use and What Makes Good Agent Memory, plus 9 more sections
  • Calls bun and npm

What it does

Agents Md Mastery is an agent skill from tctinh/agent-hive. Use when bootstrapping, updating, or reviewing AGENTS.md — teaches what makes effective agent memory, how to structure sections, signal vs noise filtering, and when to prune stale entries

Its SKILL.md is about 1.9k 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 Agent memory.

When your agent uses it

  • Reviewing AGENTS.md — teaches what makes effective agent memory
  • How to structure sections
  • Signal vs noise filtering
  • When to prune stale entries

Example prompts

  • “/agents-md-mastery”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Draft the proposed additions
  2. Review each proposal
  3. Accept signal, reject noise
  4. Apply approved changes directly

What it can do on your machine

Read from SKILL.md and the folder at commit b3f11c0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agents Md Mastery loads about 1.9k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 772 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

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.

Safety

Auto-check passed

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.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 772 words (~1,948 tokens).

“AGENTS.md is pseudo-memory loaded at session start. Every line shapes agent behavior for the entire session. Quality beats quantity. Write for agents, not humans.”

— opening of SKILL.md by tctinh, Custom licence
name
agents-md-mastery

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .github/skills/agents-md-mastery of tctinh/agent-hive.

Open the folder on GitHubat commit b3f11c0

Compare with similar skills

Agents Md Mastery 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.

Agents Md Mastery compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agents Md Mastery this skilltctinh/agent-hive158—~1.9kAutomated safety check: PassCustom licence
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
SkillOpt Sleep Cyclemicrosoft/SkillOpt18k—~2.3kAutomated safety check: PassMIT
CLAUDE.md Improveranthropics/claude-plugins-official38k5 repos~1.5kAutomated safety check: PassApache-2.0
Harness Engineering10xChengTu/harness-engineering1021 repos~1kAutomated safety check: PassNone
Codebase Analyzerseverity1/claude-code-auto-memory159—~1.5kAutomated safety check: PassMIT

Similar skills

  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 9 days ago
    Agent WorkflowsAuto-check passed
  • SkillOpt Sleep Cycle

    microsoft/SkillOpt

    Official

    Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.

    18k GitHub stars~2.3k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • CLAUDE.md Improver

    anthropics/claude-plugins-official

    Official

    Finds every CLAUDE.md file in a repository, scores each against quality criteria, shows a report, then makes targeted updates after you approve.

    38k GitHub starsUsed in 5 repos~1.5k tokens
    Agent WorkflowsAuto-check passed
  • Harness Engineering

    10xChengTu/harness-engineering

    Set up and improve harness engineering (AGENTS.md, docs/, lint rules, eval systems, project-level prompt engineering) for AI-agent-friendly codebases.

    102 GitHub starsUsed in 1 repo~1k tokens
    Agent WorkflowsAuto-check passed
  • Codebase Analyzer

    severity1/claude-code-auto-memory

    This skill should be used when the user asks to "initialize auto-memory", "create CLAUDE.md", "set up project memory", or runs the /auto-memory:init command.

    159 GitHub stars~1.5k tokensUpdated 5 mo ago
    Agent WorkflowsAuto-check passed
  • Self Improving For Codex

    GODGOD126/self-improving-for-codex

    Build or maintain a Codex-native self-improving memory loop using global AGENTS.md, a persistent memories directory, and optional nightly refinement automation.

    130 GitHub stars~1.2k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed

More from tctinh/agent-hive

  • Ast Grep

    tctinh/agent-hive

    Use ast-grep MCP tools for syntax-aware structural search, AST inspection, rule testing, and structural verification.

    158 GitHub stars~1.2k tokensUpdated 6 days ago
    Auto-check passed
  • Docker Mastery

    tctinh/agent-hive

    A skill your agent uses when working with Docker containers — debugging container failures, writing Dockerfiles, docker-compose for integration tests, image optimization, or deploying containerized…

    158 GitHub stars~2.6k tokensUpdated 6 days ago
    Auto-check: notes
  • Parallel Exploration

    tctinh/agent-hive

    A skill your agent uses when you need parallel, read-only exploration with the agent tool (Scout fan-out)

    158 GitHub stars~1.8k tokensUpdated 6 days ago
    Auto-check passed
  • Verification Reviewer

    tctinh/agent-hive

    A skill your agent uses when independently verifying implementation claims, post-merge review, or when a reviewer needs to falsify success assertions with command-and-output evidence

    158 GitHub stars~1.1k tokensUpdated 6 days ago
    Auto-check passed
  • Code Reviewer

    tctinh/agent-hive

    A skill your agent uses when reviewing implementation changes against an approved plan or task (especially before merging or between Hive tasks) to catch missing requirements, YAGNI, dead code, and…

    158 GitHub stars~1.8k tokensUpdated 6 days ago
    Auto-check passed
  • Parallel Exploration

    tctinh/agent-hive

    A skill your agent uses when you need parallel, read-only exploration with task() (Scout fan-out)

    158 GitHub stars~2k tokensUpdated 6 days ago
    Auto-check passed

Categories

Questions about Agents Md Mastery

What does Agents Md Mastery do?

A skill your agent uses when bootstrapping, updating, or reviewing AGENTS.md — teaches what makes effective agent memory, how to structure sections, signal vs noise filtering, and when to prune…. Agents Md Mastery is an agent skill from tctinh/agent-hive.

When should I use Agents Md Mastery?

Agents Md Mastery fits situations like: reviewing AGENTS.md — teaches what makes effective agent memory; how to structure sections; signal vs noise filtering; when to prune stale entries.

How do I install Agents Md Mastery in Claude Code?

Run `npx skills add tctinh/agent-hive --skill agents-md-mastery -a claude-code`. Or copy the skill folder (.github/skills/agents-md-mastery in tctinh/agent-hive) into .claude/skills/agents-md-mastery in your project. Claude Code loads it when a task matches its description.

How do I install Agents Md Mastery in Codex?

Run `npx skills add tctinh/agent-hive --skill agents-md-mastery -a codex`. Or copy the skill folder (.github/skills/agents-md-mastery in tctinh/agent-hive) into .agents/skills/agents-md-mastery in your project. Codex loads it when a task matches its description.

Can I use Agents Md Mastery in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tctinh/agent-hive --skill agents-md-mastery -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agents-md-mastery, .gemini/skills/agents-md-mastery, .github/skills/agents-md-mastery and .opencode/skills/agents-md-mastery in your project.

What does Agents Md Mastery need to run?

Going by SKILL.md and its folder, Agents Md Mastery needs the command-line tools its instructions call (bun and npm).

Does Agents Md Mastery access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Agents Md Mastery safe to install?

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.

What licence does Agents Md Mastery use?

Agents Md Mastery has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Agents Md Mastery use?

About 1.9k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Agents Md Mastery?

Skills that share tags, products or a category with Agents Md Mastery: Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars), SkillOpt Sleep Cycle (microsoft/SkillOpt, 18k stars), CLAUDE.md Improver (anthropics/claude-plugins-official, 38k stars) and Harness Engineering (10xChengTu/harness-engineering, 102 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agents Md Mastery?

tctinh (a GitHub user) maintains it in tctinh/agent-hive, which has 158 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 4, 2026.

Source: tctinh/agent-hive on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.