agentsys: Skill for Claude Code

.kiro/skills/repo-intel/SKILL.md

repo-intel is a skill for Claude Code, Kiro from agent-sh/agentsys. It costs 50 tokens per session (474 once invoked), scanned A, original, MIT.

A repository analysis tool that combines Git history, code symbols, and project metadata into a searchable map of the codebase.

In plain words
What is it for?
Use it to generate or update a repository map, query change hotspots, check ownership, and inspect the analysis data’s status.
Why use it?
It helps you understand where important code lives, which areas change often, and whether ownership depends on too few contributors.

Skill for Claude CodeKiro

Written for Claude Code and Kiro: argument-hint in frontmatter, but also installed under .kiro/. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

This is agent-sh/agentsys's own configuration. It tells Claude Code and Kiro how to work on agentsys itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentsys configures →

Part of the agentsys plugin — 28 skills, 1 hook shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to agent-sh/agentsys. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/agent-sh/agentsys/main/.kiro/skills/repo-intel/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/agent-sh/agentsys

Made for: Claude Code, Kiro.

Or install agentsys, the plugin that ships this one along with the rest of its 28 skills, 1 hook.

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-intel

README.md
[![agentmods](https://agentmods.dev/badge/skills/agent-sh/agentsys/repo-intel.svg)](https://agentmods.dev/skills/agent-sh/agentsys/repo-intel)
Your own site
<a href="https://agentmods.dev/skills/agent-sh/agentsys/repo-intel"><img src="https://agentmods.dev/badge/skills/agent-sh/agentsys/repo-intel.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 474 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00050 $0.00474
Opus 5 $0.00025 $0.00237
Sonnet 5 $0.00010 $0.00095
Haiku 4.5 $0.00005 $0.00047

Measured 6d ago against content hash 0dcb0fc9c368, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

repo-intel 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 6d 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.

.kiro/skills/repo-intel/SKILL.md · 64 lines

What it actually says

Repo Intel Skill

Unified static analysis - git history intelligence, AST symbol mapping, and project metadata via agent-analyzer.

Parse Arguments

const args = '$ARGUMENTS'.split(' ').filter(Boolean);
const action = args.find(a => !a.startsWith('--')) || 'status';
const force = args.includes('--force');

Primary Responsibilities

  1. Initialize on demand (/repo-intel init)
  2. Update incrementally (/repo-intel update)
  3. Query git history data (/repo-intel query hotspots)
  4. Check status and staleness (/repo-intel status)
  5. Validate output with the map-validator agent

Core Data Contract

Repo intel data is stored in the platform state directory:

  • Claude Code: .claude/repo-intel.json, .claude/repo-map.json
  • OpenCode: .opencode/repo-intel.json, .opencode/repo-map.json
  • Codex CLI: .codex/repo-intel.json, .codex/repo-map.json

Behavior Rules

  • Never install dependencies without explicit user consent
  • Always validate output with map-validator after init/update
  • Prefer incremental update unless data is stale or history rewritten

When to Suggest Repo Intel

If a user asks for drift detection, documentation alignment, or repo analysis and repo-intel data is missing:

Repo intel data not found. For better analysis, run:
  /repo-intel init

Staleness Signals

  • Data commit not found (rebased)
  • Branch changed
  • Git hooks marked stale
  • Commits behind HEAD

Output Expectations

Keep outputs concise:

  • init/update: file count, symbol count, commit, warnings
  • query: formatted query results
  • status: staleness, commits behind, last updated
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. 6d ago First seen · 64 lines · 50 tokens per session scan A 0dcb0fc9c368

Subscribe to this mod's changes

repo-intel is a skill published in the GitHub repository agent-sh/agentsys (982 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 474 once invoked, about $0.0003 per session on Opus 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

pre-publish-review

Nuclear-grade 12-agent pre-publish release gate. Runs /get-unpublished-changes to detect all changes since last npm release, spawns up to 10 ultrabrain agents for deep per-change analysis, invokes /review-work (orchestrator manual QA plus one gate reviewer) for holistic review, and 1 oracle for overall release…

code-yeongyu/oh-my-openagent · 161 tokens

work-with-pr

Full PR lifecycle in a fresh task-owned git worktree: implement via the ulw-loop skill with mandatory evidence-bound manual QA → reviewer-readable English PR → verification loop (CI + Cubic, where Cubic is skipped only when its quota is exhausted) → merge by default → worktree cleanup. Decomposes one task into the…

code-yeongyu/oh-my-openagent · 211 tokens

babysit

Watch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.

thedotmack/claude-mem · 44 tokens

code-review

Review the current diff, or a PR number/branch/path target, for correctness bugs and reuse/simplification/efficiency cleanups at the given effort level (low/medium: fewer, high-confidence findings; high→max: broader coverage, may include uncertain findings; ultra: deep multi-agent review in the cloud); with no level…

asgeirtj/system_prompts_leaks · 0 tokens

github

GitHub via gh CLI: PRs, issues, reviews, repos, auth.

NousResearch/hermes-agent · 19 tokens

pr-review

Review open PRs two ways - default is a per-PR deep review with severity-tagged findings, inline comments, and a verdict; --survey runs a risk-tiered triage digest of what's safe to merge first.

aeonfun/aeon · 47 tokens