Fastcode Search
Researchfastcode-searchFastcode Search is an Agent Skill for research published in the Dokhacgiakhoa/Agent-skills-setup-for-AntiGravity repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Native Node.js semantic search for Agent. No external dependencies.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/Dokhacgiakhoa/Agent-skills-setup-for-AntiGravity/blob/HEAD/.agent/skills/fastcode-search/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/fastcode-search, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
FastCode Search (Native)
Core Capability: Lightning-fast codebase navigation using local Node.js indexing. Zero Cost: Runs locally. No API calls.
🤖 Agent Instructions (MANDATORY)
Rule: BEFORE reading any file content to understand logic, you MUST use FastCode.
1. When to use?
- User asks "Where is the login logic?"
- You need to fix a bug but don't know the exact file.
- You want to understand the project structure.
2. How to use?
Run the internal Node.js script. Do not ask user to install anything.
Step 1: Search
node cli/skills/fastcode.js search "your_query_here"
Step 2: Analyze Results
The script returns a JSON list of most relevant files.
- Action: Read ONLY the top 1-3 files returned.
- Benefit: Saves tokens (don't read the whole repo).
3. Maintenance (Auto-Index)
If search returns nothing or "Index not found", run indexing first:
node cli/skills/fastcode.js index
🛠️ For Humans (Optional)
You can also run this manually if you want:
node cli/skills/fastcode.js search "auth"