defendend/Claude-ast-index-search
Cli allows AST search, ~40-50% economy tokens. Claude/Codex/Cursor searches (suitable for any AI agent that can use Bash)
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
Copy this rig
# review before running: this installs third-party code
$ npx degit defendend/Claude-ast-index-search/.claude ./rig-claude-ast-index-search # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit defendend/Claude-ast-index-search/plugin/skills/ast-index .claude/skills/ast-index $ curl -fsSL --create-dirs -o .claude/agents/bug-fix.md https://raw.githubusercontent.com/defendend/Claude-ast-index-search/main/.claude/agents/bug-fix.md $ curl -fsSL --create-dirs -o .claude/agents/research.md https://raw.githubusercontent.com/defendend/Claude-ast-index-search/main/.claude/agents/research.md $ curl -fsSL --create-dirs -o .claude/agents/review.md https://raw.githubusercontent.com/defendend/Claude-ast-index-search/main/.claude/agents/review.md
This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 7,204 rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(rm -rf *)",
"Read(**/*.pem)",
"Bash(rm -rf /)",
"Bash(git push --force:*)",
"Bash(sudo *)",
"Read(.env)",
"Bash(rm -rf /*)",
"Read(./.env.*)",
"Read(~/.aws/**)",
"Bash(git push --force*)",
"Bash(rm -rf:*)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(sudo:*)",
"Bash(git reset --hard*)",
"Bash(git reset --hard:*)",
"Read(.env.*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(rm:*)",
"Bash(git rebase *)",
"Bash(wget *)",
"Bash(npm publish:*)",
"Bash(git commit *)",
"Bash(gh pr merge *)"
]
}
} Skills (1)
Subagents (3)
| bug-fix | Use this agent when a user reports a concrete bug ("X doesn't work", "crashes on Y", "wrong output for Z", a GitHub issue with steps-to-reproduce). The agent reproduces the bug, locates the root cause |
| research | Use this agent when the user asks an open-ended question about how the ast-index codebase works ("how is incremental update wired", "why don't we tree-sitter Perl", "what's the data flow for --format |
| review | Use this agent to review a set of changes before they ship — staged/unstaged diff, a specific commit range, a PR description, or "the latest commit". The agent reads the diff against project rules in |
Similar rigs
arunpaul-H/coding-agent-harness
Your coding agent's rules, enforced by code instead of prompts. Hooks block bad actions before they run; a committed baseline turns a deleted or skipped test into a red build. Zero dependencies. Hooks for Claude Code, gates for any CI.
Automator 3.1k tok ·
AlmanacCode/codealmanac
A codebase wiki for AI coding agents. Captures what the code can't say: decisions, flows, invariants, gotchas.
Pragmatist 4.1k tok ·
tony/claude-code-riper-5
Claude Code (Sub-agent, Custom Commands) for RIPER-5
Pragmatist 3.0k tok ·
anevolbap/dotfiles
Emacs, Corne (QMK), dunst, sway and small Linux scripts, managed with GNU stow
Pragmatist 85 tok ·