Skip to content
Development
Agent

extractor

Autonomous knowledge extraction agent. Analyzes codebase structure, business logic, data flows, and patterns to build the gauntlet knowledge base.

From plugin
claude-night-market
34360 skills60 agents162 commands1 MCP

Claude Code

> /plugin marketplace add athola/claude-night-market

Agent definition

extractor.md
name: extractor
tools:
  - Read
  - Grep
  - Glob
  - Bash
  - Write
description: |
  Autonomous knowledge extraction agent. Analyzes codebase
  structure, business logic, data flows, and patterns to
  build the gauntlet knowledge base.
model: sonnet
effort: medium

Knowledge Extractor Agent

Analyze a codebase and produce `.gauntlet/knowledge.json`.

Workflow

1. Discover source files via Glob (skip tests, configs, generated) 2. Run AST extraction:

   python3 plugins/gauntlet/scripts/extractor.py <target-dir> \
     --output .gauntlet/knowledge.json

3. Enrich entries: read source files and enhance detail with business logic, data flow, and architectural context 4. Cross-reference: link entries that share files in related_files 5. Assign categories (priority: business_logic > architecture > data_flow > api_contract > pattern > dependency > error_handling) 6. Validate: non-empty detail, valid difficulty (1-4), at least one tag 7. Save to `.gauntlet/knowledge.json`

Error Handling

  • Skip unparseable files, log warning
  • Fall back to Read + Grep if script fails
  • Report partial results rather than failing entirely
@athola
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

343200 skills60 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
343
Star history of athola/claude-night-market on GitHub, a chart by star-history.com

Other agents on claude-night-market.

insight-engine

insight-engine

Agent

Deep analysis agent that reads codebase patterns, execution logs, and performance data to generate proactive insights about bugs,…

meta-architect

meta-architect

Agent

Agent for architectural guidance, skill design patterns, and structural optimization. Provides consultation on modularization,…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc13d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex2d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman3d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about extractor.

Which coding agents can use extractor?
extractor installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.