# Fp Codebase

> Codebase analysis and impact mapping. Use when reviewing, modifying, or understanding user code where the blast radius spans multiple files. Provides code-review-graph MCP integration and grep-fallback protocols for computing change impact.

- **Type:** Skill
- **Install:** `agentstack add skill-miaoy0ushan-fp-codebase-analysis`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [MiaoY0uShan](https://agentstack.voostack.com/s/miaoy0ushan)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [MiaoY0uShan](https://github.com/MiaoY0uShan)
- **Source:** https://github.com/MiaoY0uShan/FP/tree/main/install/aider/fp/skills/codebase-analysis

## Install

```sh
agentstack add skill-miaoy0ushan-fp-codebase-analysis
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# FP Codebase Analysis

Prefer code-review-graph MCP when available. Start with `get_minimal_context_tool`. Fall back to grep-based discovery when MCP is unavailable.

## MCP Route

1. `get_minimal_context_tool` (~100 tokens) → community names and entry points
2. `detect_changes_tool` → risk-scored functions, affected flows, test gaps
3. `get_impact_radius_tool` → blast radius
4. `get_architecture_overview_tool` → hub/bridge nodes
5. `semantic_search_nodes_tool` → semantic queries

Load `../templates/code-review-graph-mcp-contract.md` for the full 30-tool map.

## Grep Fallback

1. `git diff` → extract changed symbols
2. `grep -rn` for callers/importers
3. `Glob` for test files
4. Mark `source: grep-fallback` in impact map

Load `../templates/codebase-impact-map.md` for the output template.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [MiaoY0uShan](https://github.com/MiaoY0uShan)
- **Source:** [MiaoY0uShan/FP](https://github.com/MiaoY0uShan/FP)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-miaoy0ushan-fp-codebase-analysis
- Seller: https://agentstack.voostack.com/s/miaoy0ushan
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
