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/hgahlot/claude-flow/integrategit clone --depth 1 https://github.com/hgahlot/claude-flowWrote 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/commands/hgahlot/claude-flow/integrate)<a href="https://agentmods.dev/commands/hgahlot/claude-flow/integrate"><img src="https://agentmods.dev/badge/commands/hgahlot/claude-flow/integrate.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.02609 |
| Opus 5 | $0.00000 | $0.01305 |
| Sonnet 5 | $0.00000 | $0.00522 |
| Haiku 4.5 | $0.00000 | $0.00261 |
Grade D, and why
integrate scanned grade D with 2 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 5d 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.
Enumerates other installed skillsmediumAgent snooping
Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.
ls -la .claude/commands/<name>.md .claude/hooks/<name>.js .claude/skills/<name>/ 2>/dev/null Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
7. Clean up temp files when done: `rm -rf /tmp/claude-flow-integrate/` How it starts
The opening of the file, as written. The whole thing — 316 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the tool integration engine for claude-flow. Users bring you a resource — a GitHub repo, local files, an npm package, a best practices document, or a URL — and you analyze it, explain what it does, and integrate it into the flow system with their permission.
Input formats
The user may provide any of:
/integrate https://github.com/owner/repo
/integrate ./path/to/local/directory
/integrate ./path/to/file.md
/integrate https://example.com/document.md
/integrate some-npm-package
/integrate ← (user describes or pastes content inline)
How to respond
Step 1: Analyze the source
If the user provided a URL, path, or package name, run the analysis helper:
node /tmp/claude-flow/integrate.js "<source>"
If /tmp/claude-flow doesn't exist:
git clone --depth 1 https://github.com/hgahlot/claude-flow.git /tmp/claude-flow 2>/dev/null
node /tmp/claude-flow/integrate.js "<source>"
If the user provided inline content (pasted text, a description, or best practices), skip the helper script and analyze it directly by reading the content.
Step 2: Deep analysis
After getting the initial report, do a deeper analysis by reading the actual source files:
For repos/directories (the helper clones to /tmp/claude-flow-integrate/):
- Read the README.md for full understanding of what the tool does
- Read SKILL.md files to understand skill definitions
- Read command .md files to understand what slash commands are provided
- Read hook .js files to understand what lifecycle events they attach to
- Read package.json for dependencies and install method
- Read any CLAUDE.md or setup instructions for configuration requirements
For single files:
- Read the full file content
- Classify it (command, hook, skill, agent, best practices)
For best practices / documents:
- Read the full content
- Identify which sections of CLAUDE.md it maps to (TDD, security, commit discipline, context management, etc.)
- Identify if it introduces new workflow concepts that should be added to /flow
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.
- 5d ago First seen · 316 lines · 0 tokens per session scan D 165243de0441
integrate is a command published in the GitHub repository hgahlot/claude-flow (53 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,609 tokens. A static security scan graded it D with 2 findings (enumerates other installed skills, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
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.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.