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.
npx skills add first-tree-ai/first-tree-legacy --skill first-tree-github-scangit clone --depth 1 https://github.com/first-tree-ai/first-tree-legacyWrote 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.
[](https://agentmods.dev/skills/first-tree-ai/first-tree-legacy/first-tree-github-scan)<a href="https://agentmods.dev/skills/first-tree-ai/first-tree-legacy/first-tree-github-scan"><img src="https://agentmods.dev/badge/skills/first-tree-ai/first-tree-legacy/first-tree-github-scan/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.
<a href="https://agentmods.dev/skills/first-tree-ai/first-tree-legacy/first-tree-github-scan"><img src="https://agentmods.dev/badge/skills/first-tree-ai/first-tree-legacy/first-tree-github-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00113 | $0.01093 |
| Opus 5.5 | $0.00045 | $0.00437 |
| Sonnet 5.5 | $0.00023 | $0.00219 |
| Haiku 4.5 | $0.00011 | $0.00109 |
Grade A, and why
first-tree-github-scan 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
First Tree Github Scan
Read these first:
../first-tree/SKILL.md../first-tree/references/functions.md../first-tree/references/anti-patterns.md
What This Skill Does
This skill is loaded by the daemon every time a new GitHub notification arrives and a per-task agent is spawned. The agent's job is to:
- classify the notification
- set the right
github-scan:*label and post any necessary comment - choose exactly one of four routes (
reply/human/sync/write) - emit a
GITHUB_SCAN_RESULT:line so the daemon can dispatch downstream work
This is not the operator-facing daemon guide. Humans running
first-tree github scan install / start / doctor should use the CLI
help, not this skill.
When To Use This Skill
| Use this skill | Use a different skill |
|---|---|
| The daemon spawned an agent for one notification | A user wants to onboard a repo → first-tree-onboarding |
| You need the tag table or comment template | A user wants to audit drift → first-tree-sync |
| You need the route taxonomy | A user wants to write tree content from a source → first-tree-write |
| You need to decide whether to involve a human | An operator is debugging the daemon — use first-tree github scan --help |
The Four Tags
github-scan:new — initial state; daemon also restores via auto-revert
github-scan:wip — agent has started real work
github-scan:human — a human must step in
github-scan:done — finished, no further action
Exactly one github-scan:* label per item at any time. Full lifecycle
and gh calls in references/tags.md.
The Four Routes
reply — handle on GitHub: labels / review / comments
human — set github-scan:human and stop
sync — load first-tree-sync SKILL.md and continue under that skill
write — load first-tree-write SKILL.md and continue under that skill
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 103 lines · 113 tokens per session scan A f8282f3e836b
first-tree-github-scan is a skill published in the GitHub repository first-tree-ai/first-tree-legacy (48 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 113 tokens to every session and 1,093 once invoked, about $0.0005 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.
first-tree-github-scan compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| first-tree-github-scanfirst-tree-ai/first-tree-legacy | Skill | 48 | 6mo ago | Apache-2.0 | A | 113 | Codex |
| requesting-code-reviewelleryfamilia/loadout | Skill | 33 | 8d ago | MIT | A | 22 | Claude Code, Codex |
| autofix-prQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 142 | Claude Code |
| gh-find-prsHmbown/CodeWhale | Skill | 41k | 6d ago | MIT | A | 27 | Claude Code, Codex |
| hunk-releasemodem-dev/hunk | Skill | 10.0k | 4d ago | MIT | A | 38 | Claude Code, Codex |
| pr-stewardagent-of-empires/agent-of-empires | Skill | 5.3k | today | MIT | A | 63 | Claude Code, Codex |
| gitx-cmd/x-cmd | Skill | 4.8k | 11d ago | Apache-2.0 | A | 58 | Claude Code, Codex |