repo-mastery

repo-mastery is a skill for Claude Code, Codex from frankxai/claude-skills-library. It costs 101 tokens per session (236 once invoked), scanned A, original, MIT.

A guide to the architecture, tools and working rules across the ACOS, FrankX, Starlight and Arcanea repositories.

In plain words
What is it for?
Use it to study repository structure, map skills and hooks, work with GitHub and file tools, run searches or terminal commands, and apply required quality checks.
Why use it?
It helps an agent understand how these related codebases fit together before changing them, including which instructions and integrations to inspect.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for gstack. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Good fit Use it to study repository structure, map skills and hooks, work with GitHub and file tools, run searches or terminal commands, and apply required quality checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frankxai/claude-skills-library/repo-mastery
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add frankxai/claude-skills-library --skill repo-mastery
Clone the repo
git clone --depth 1 https://github.com/frankxai/claude-skills-library

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for repo-mastery

README.md
[![agentmods](https://agentmods.dev/badge/skills/frankxai/claude-skills-library/repo-mastery/github.svg)](https://agentmods.dev/skills/frankxai/claude-skills-library/repo-mastery)
Your own site
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/repo-mastery"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/repo-mastery/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for repo-mastery

Your own site · 80×15
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/repo-mastery"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/repo-mastery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 236 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.00236
Opus 5.5 $0.00040 $0.00094
Sonnet 5.5 $0.00020 $0.00047
Haiku 4.5 $0.00010 $0.00024

Measured 13d ago against content hash 839feacd6c4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repo-mastery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.grok/skills/repo-mastery/SKILL.md · 17 lines

What it actually says

Repo Mastery (Grok Edition)

Steps:

  1. Inventory + read rules (CLAUDE/AGENTS/GROK.md priority)
  2. Parallel subagents for ACOS core, SIP, products, mcp-servers, skills catalog
  3. Cross-ref with remote (gh/MCP) + local FS
  4. Map .grok + .claude compat, skills 100+, hooks, agents
  5. Apply gates (excellence-review) before any recs
  6. Structured output: components, critical paths, opportunities. No unrequested MDs.

Embody Frank DNA. Lead with builds.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago Changed · +101 tokens per session 839feacd6c4f
  2. 1mo ago First seen · 17 lines · 0 tokens per session scan A 8bbf38c9ea28

Subscribe to this mod's changes

repo-mastery is a skill published in the GitHub repository frankxai/claude-skills-library (47 stars, last pushed today), licensed MIT. It adds 101 tokens to every session and 236 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

token-saver

Token optimization guide for Claude Code. This skill should be used when the user wants to reduce API costs, learn model routing strategies, or understand how to use free/cheaper tools (Ollama, Haiku) instead of burning expensive Claude tokens on routine tasks. Triggers on: save tokens, reduce costs, token tips, cheap…

chidekina/aria-superpowers · 85 tokens

wayfinder

A planning method that maps a large, uncertain project into linked decision tickets in a repository's issue tracker. An issue tracker is a system for recording and organizing project work.

vinvcn/mattpocock-skills-zh-CN · 40 tokens

scaffold-exercises

A directory scaffold for course exercises, with sections, exercise folders, and optional problem, solution, or explanation versions. It creates the required Markdown files and checks the result with the repository's linter.

vinvcn/mattpocock-skills-zh-CN · 46 tokens

migrate-to-shoehorn

A testing guide for Shoehorn, a TypeScript library that lets tests provide only the fields they need from a larger data type.

vinvcn/mattpocock-skills-zh-CN · 53 tokens

ask-matt

A skill router that helps choose the right workflow or skill for the current task. It maps work from an initial idea through building and shipping, with separate paths for research, prototypes, and multi-session projects.

vinvcn/mattpocock-skills-zh-CN · 28 tokens

improve-codebase-architecture

A skill that scans a codebase for places where restructuring could make future changes and testing easier, then produces an HTML report for selected improvements.

vinvcn/mattpocock-skills-zh-CN · 35 tokens