---
name: dokhacgiakhoa-fastcode-search
description: "Native Node.js semantic search for Agent. No external dependencies."
license: "NOASSERTION"
metadata:
  decimalai-skill-id: "6227034a-41d8-4106-ad8c-f393c2b3608b"
  decimalai-version-id: "0e55c611-ee12-4cb4-84da-4e9c4a5e0042"
  decimalai-version: "1"
  decimalai-body-sha256: "857f374fd31916e6a3b9a1d6458cbd95370e69ab6f312e846340d7b03b2b0515"
  decimalai-name: "dokhacgiakhoa/fastcode-search"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "coding"
  decimalai-source: "https://app.decimal.ai/s/dokhacgiakhoa-fastcode-search@1/SKILL.md"
---
# 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
```bash
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:
```bash
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"`
