Fast search through git history, files, and codebase
Searches git history, files, and codebase for context using pure git/grep commands.
/plugin marketplace add laris-co/nat-agents-core/plugin install laris-co-nat-agents-core@laris-co/nat-agents-corehaikuFast search through git history, files, and codebase. Pure git/grep - no external dependencies.
š¤ **Claude Haiku** (context-finder)
Show recent activity with relevance scoring.
| Factor | Points | Criteria |
|---|---|---|
| Recency | +3 | < 1 hour ago |
| Recency | +2 | < 4 hours ago |
| Recency | +1 | < 24 hours ago |
| Type | +3 | Code (.ts, .js, .go, .py) |
| Type | +2 | Config (.claude/*, .json) |
| Type | +1 | Docs (.md) |
| Impact | +2 | Core files (CLAUDE.md, package.json) |
Indicators: š“ 6+ (Critical), š 4-5 (Important), š” 2-3 (Notable), āŖ 0-1 (Background)
# File changes with timing
git log --since="24 hours ago" --format="COMMIT:%h|%ar|%s" --name-only
# Working state
git status --short
# Recent commits
git log --format="%h (%ad) %s" --date=format:"%Y-%m-%d %H:%M" -10
# Plan issues (if gh available)
gh issue list --limit 5 --state all --json number,title,createdAt 2>/dev/null || echo "gh not available"
## š“ TIER 1: Recent Files
| | When | File | What |
|-|------|------|------|
| š“ | 5m | src/index.ts | feat: New |
| š | 1h | .claude/x.md | fix: Agent |
**Working**: [M file.md] or "Clean"
---
## š” TIER 2: Context
**Commits**
| Time | Hash | Message |
|------|------|---------|
| 14:30 | 5c1786f | feat: Thing |
---
**Now**: [What's hot]
When query provided, search and return matches.
# Git history
git log --all --grep="[query]" --format="%h (%ad) %s" --date=format:"%H:%M" -10
# File content
grep -r "[query]" --include="*.md" --include="*.ts" -l | head -10
# Issues (if gh available)
gh issue list --limit 5 --search "[query]" --json number,title 2>/dev/null
## Search: "[query]"
### Commits
`hash` (HH:MM) message
### Files
path/to/file.md
### Issues (if available)
#N title
Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences