indexing-static-context

Index and retrieve static context file paths under ~/.agents/ via CLI.

1|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/Open330/agt --skill indexing-static-context
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: indexing-static-context
Source: https://github.com/Open330/agt/tree/main/context/static-index
Command: npx skills add https://github.com/Open330/agt --skill indexing-static-context

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Index and expose the paths to global static context files stored under ~/.agents/ so that other skills or agents can quickly locate reference information when needed.

Core Features & Use Cases

  • Builds an up-to-date index of all .md static-context files under the user's agents directory.
  • Enables fast retrieval of file paths by natural-language queries (e.g., "내 정보", "보안 규칙") and programmatic access via the CLI.
  • Supports listing, searching, and type-based file lookups for automation workflows.

Quick Start

Run the static-index.sh script with the desired command to list, search, or fetch a file path.

Frequently Asked Questions about indexing-static-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I index static context files for agent automation workflows?▼

Index static context files for agent automation by running a script that scans ~/.agents/ for .md files and builds an up-to-date index. This exposes file paths for quick retrieval during prompt generation and automated tasks.

How do I search for agent context files using natural language queries?▼

Search for agent context files using natural language queries by passing phrases like "security rules" to the CLI. The tool maps these natural-language queries to the correct static context files and returns their paths.

What's the best way to retrieve configuration data paths from the agents directory?▼

Retrieve configuration data paths from the agents directory by using the CLI's search and list commands. It indexes all .md files under ~/.agents/ and returns exact file paths for user profiles, security rules, and configuration data.

How do I rebuild the static index when context files change?▼

Rebuild the static index when context files change by using the refresh option in the CLI. This scans the ~/.agents/ directory again to ensure the index reflects the latest .md static-context files for accurate retrieval.

Can I use natural language search to locate security rules for my agent prompts?▼

Locate security rules for agent prompts by querying the static index with natural language. The CLI maps queries to the correct .md files under ~/.agents/ and retrieves the exact file paths needed for your workflows.

What types of static context files does the agent index support?▼

The agent index supports .md static-context files stored under the ~/.agents/ directory. It applies across agent workflows needing quick access to user profiles, security rules, and configuration data during prompts and automation.