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 agentmods add commands/tommymorgan/claude-plugins/fetch-datagit clone --depth 1 https://github.com/tommymorgan/claude-pluginsWhat 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 | $0.00013 | $0.00533 |
| Opus 5 | $0.00006 | $0.00267 |
| Sonnet 5 | $0.00003 | $0.00107 |
| Haiku 4.5 | $0.00001 | $0.00053 |
Grade A, and why
fetch-data 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 2d 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 — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flow Fetch Data
Collect flow data from the configured source for the current project.
Steps
-
Detect git remote and resolve project config:
git remote get-url originLook up config in
~/.tommymorgan/flows/by matching the remote URL. If no config found, report: "No flow configuration found for remote URL: . Run /flow:setup to configure." and stop. If config file is invalid JSON, report: "Configuration file is invalid: . Run /flow:setup to reconfigure." and stop. -
Check authentication for the configured source:
- GitHub:
gh auth status - If not authenticated, report the error with remediation steps and stop.
- GitHub:
-
Read existing flow data (if any) from
~/.tommymorgan/flows/<slug>-data.json -
Determine the
sincedate:- If existing data exists, use the most recent
finishedAttimestamp - If
--allflag provided, ignore existing data and fetch everything - If no existing data, fetch all
- If existing data exists, use the most recent
-
Fetch work items using the configured adapter:
- GitHub: For each configured repo, fetch merged PRs via
gh api:- Get PR list with pagination
- For each merged PR, fetch commits to get the earliest commit authored date
- If configured start boundary data is unavailable, fall back to PR
created_atand include a warning - Calculate Cycle Time: finished - started + 1 (calendar days, UTC)
- Linear / Git: Not yet implemented — report "Adapter not yet available" and stop
- GitHub: For each configured repo, fetch merged PRs via
-
Merge new items with existing data (deduplicate by id + source)
-
Write updated data to
~/.tommymorgan/flows/<slug>-data.jsonatomically -
Report results:
Flow data updated. - Total items: {count} - New items fetched: {new_count} - Date range: {earliest_date} to {latest_date} - Source: {source} ({repos}) {warnings if any fallbacks occurred}
Arguments
--all— Re-fetch all data (ignore incremental)--repo owner/repo— Override configured repo(s)
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.
- 2d ago First seen · 56 lines · 13 tokens per session scan A 14ab9a7cd7f0
fetch-data is a command published in the GitHub repository tommymorgan/claude-plugins (4 stars, last pushed 1mo ago), licensed MIT. It adds 13 tokens to every session and 533 once invoked, about $0.0001 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-31.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.