Promptscout — AI skill for Claude Code
Enrich coding agent prompts with codebase context using a local LLM.
How to install Promptscout
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open obsfx/promptscout and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Promptscout does
Enrich coding agent prompts with codebase context using a local LLM.
Alternatives in AI
- TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★
- Rb Setup — First-time setup 1.3k ★
- Codebase Digest — 🗜️ Codebase-digest is your AI-friendly codebase packer and analyzer 375 ★
README
promptscout
A CLI tool that enriches your coding agent prompts with codebase context using a local LLM. No API keys, no cloud. Runs on your machine.
**Designed as a Claude Code plugin.** It hooks into your prompt submission flow and adds codebase context before Claude sees it.
Motivation
When you ask a coding agent like Claude Code, Cursor, or Copilot to work on your codebase, the agent spends time and tokens discovering which files matter. It greps, reads, explores, all on your dime.
promptscout does that discovery locally, for free. A small local LLM reads your prompt, searches your codebase with `ripgrep` and `git`, and appends the results to your original prompt. The paid agent gets a prompt that already contains the relevant file paths, code snippets, and commit history. It can skip straight to the actual work.
Your original prompt is never modified. promptscout only appends context.
How It Works
flowchart LR
A["Raw Prompt"] --> B["Local LLM
(Qwen 3 4B)"]
B -->|"tool calls"| C["ripgrep / git"]
C --> D["Original Prompt
+ Discovered Context"]
subgraph B_ctx[" "]
direction TB
T["Project Tree
(git ls-files)"]
end
T -.->|"context"| B
- You run
promptscout "check the auth module, there might be a token refresh bug" - The local LLM sees your prompt along with the project file tree (
git ls-files) and decides which search tools to call - The LLM outputs tool calls directly as JSON (e.g.
file_finder("auth"),section_finder("token"),git_history("refresh")) - Each tool runs against your codebase using
ripgrepandgit - The output is your original prompt unchanged, followed by the discovered context
- The result is copied to your clipboard, ready to paste into your coding agent
Installation
Prerequisit
Related Skills
Codebone
A real-time semantic codebase knowledge graph powered by a local LLM for macOS, delivering clean architectural
Prompt Tower.Nvim
⚡ Turn your codebase into AI-ready context in seconds – the Neovim plugin that bridges the gap between your co
Claude Codex Cursor Token Saver
AI Coding Token Saver for Windows — optimize prompts and repository context before sending it to Claude, Codex
.Git Z2ey1tgs8e
AI Coding Token Saver for Windows — optimize prompts and repository context before sending it to Claude, Codex
Prompt Architecture
Reference guide for designing production LLM prompt systems in this codebase. Covers the Two-Pass Gap Analysis
Full Self Coding
No prompts, no instructions, no plans, you have 100~1000 AI agent coding in parallel now, solving all possible
Related Agents
Claude Context Local
Code search MCP for Claude Code. Make entire codebase the context for any coding agent. Embeddings are created
Opus Answer
A simple question-answering agent that responds naturally like a standard LLM. No special research context, no
Codebase Scout
Explores codebase structure, affected files, blast radius, related tests, and local conventions for a focused