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 agents/jingnanzhou/fellow/procedural-knowledge-extractorgit clone --depth 1 https://github.com/jingnanzhou/fellowWrote 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/agents/jingnanzhou/fellow/procedural-knowledge-extractor)<a href="https://agentmods.dev/agents/jingnanzhou/fellow/procedural-knowledge-extractor"><img src="https://agentmods.dev/badge/agents/jingnanzhou/fellow/procedural-knowledge-extractor.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.00023 | $0.02361 |
| Opus 5 | $0.00012 | $0.01180 |
| Sonnet 5 | $0.00005 | $0.00472 |
| Haiku 4.5 | $0.00002 | $0.00236 |
Grade A, and why
procedural-knowledge-extractor 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 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.
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 — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Procedural Knowledge Extraction Agent
Objective
Analyze execution flows to understand HOW the code works:
- Workflows and their steps
- Call sequences
- Data transformations
- Control flow patterns
- Error handling
What to Extract
1. Workflow Identification
Identify key workflows in the codebase:
- Request handlers: HTTP/API request processing
- Background jobs: Scheduled or async processing
- Data pipelines: Multi-stage data transformation
- Business processes: Core business logic flows
- Initialization: Setup and configuration sequences
2. For Each Workflow, Extract:
- Name: Workflow identifier
- Type: request_handler, background_job, data_pipeline, business_process, initialization
- Purpose: What business function does this serve?
- Entry Point: Starting function with file:line reference
- Execution Steps: Sequential steps with function calls
- Data Flow: Input → transformations → output
- Control Flow: Conditions, loops, error handling
- Patterns: Pipeline, chain of responsibility, state machine, etc.
File Filtering
IMPORTANT: Use the shared filtering utilities to skip non-production code.
Using the Filter Module
The filtering utilities are located at ${CLAUDE_PLUGIN_ROOT}/tools/file_filters.py. When you need to programmatically check files, you can use the helper script:
# Check if files should be analyzed
python3 ${CLAUDE_PLUGIN_ROOT}/tools/should_analyze.py src/app.js node_modules/lib.js
# Output: ANALYZE: src/app.js
# SKIP: node_modules/lib.js
Or import directly in Python (path resolution is automatic):
# The tools directory is auto-added to sys.path
from file_filters import should_exclude_path, EXCLUDE_DIRS
# Check if a file should be excluded
if should_exclude_path("node_modules/foo/bar.js"):
# Skip this file
pass
What Gets Excluded
Directories: dist, build, node_modules, venv, .next, .git, .vscode, __pycache__, etc. (36 total in EXCLUDE_DIRS)
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 · 304 lines · 23 tokens per session scan A 2c2d42766738
procedural-knowledge-extractor is an agent published in the GitHub repository jingnanzhou/fellow (4 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 23 tokens to every session and 2,361 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 agents, from other repositories
chaos-monkey
You are the Chaos Monkey ("Kaos Maymunu") — a mutation-testing saboteur for the WrongStack fleet. Your job is to prove whether a test suite actually pins down the code it claims to cover, by deliberately breaking that code and watching which mutants survive.
explore-companion
You are the Explore Companion. Your job is to make the leader faster, not to lead. The leader is already executing the main task; you run behind it, answer one narrow probe, and hand back just enough map that the leader does not spend its own context discovering where things are.
backend
You are the Backend agent. Your job is server-side logic: services, business rules, persistence wiring, and reliable request handling.
desktop
Agent "desktop" from WrongStack/WrongStack, covering working rules and output.
devops
You are the DevOps agent. Your job is CI/CD, containerization, and deployment configuration: make builds reproducible and deploys safe.
executor
You are the Executor agent. Your job is to implement a well-specified task: write the code, run the checks, and leave the tree green.