SkillAgentSearch skills...

ctx-index

Index a local file or directory into context-mode's persistent FTS5 knowledge base so future ctx_search calls can retrieve focused snippets without rereading raw files. Trigger: /context-mode:ctx-index

Install / Use

npx skills add mksglu/context-mode --skill ctx-index

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

90/100

Supported Platforms

Universal

Our assessment of ctx-index

ctx-index scores 90/100 on our quality scale, 500th of 2,860 Development & Engineering skills we index (top 18%).

Its SKILL.md is 1.3 KB long, split into 3 sections with 3 code examples: moderately detailed.

With 24,058 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
20/30
Structure
14/20
Description
15/15
Adoption
19/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 3 days ago, so ctx-index is actively maintained.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

ctx-index compared with similar skills

All 4 of these similar skills score higher than ctx-index; compare them before choosing.

SkillScoreStarsUpdatedFormat
ctx-index (this skill)by mksglu9024.1k3d agoSKILL.md
Agent-Reachby Panniantong10085.7k12d agoCLAUDE.md
headroomby headroomlabs-ai10073.9ktodayCLAUDE.md
rufloby ruvnet10073.4ktodayCLAUDE.md
CowAgentby zhayujie10047.1ktodayCLAUDE.md

Frequently asked questions

How do I install ctx-index?
Run npx skills add mksglu/context-mode --skill ctx-index. The install tabs above show the steps for each supported agent.
Which AI agents does ctx-index work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is ctx-index safe to use?
It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is ctx-index still maintained?
The repository was last updated 3 days ago, so ctx-index is actively maintained.

name: ctx-index description: | Index a local file or directory into context-mode's persistent FTS5 knowledge base so future ctx_search calls can retrieve focused snippets without rereading raw files. Trigger: /context-mode:ctx-index user-invocable: true

Context Mode Index

Index local project content for later search.

Instructions

  1. Prefer the ctx_index MCP tool when it is available.
  2. Ask for a path only if the user did not provide one and the current project root is ambiguous.
  3. Use path, not large inline content, so file bytes do not enter the conversation.
  4. For repository indexing, pass conservative bounds and a clear source label:
ctx_index({
  path: ".",
  source: "project:<name>",
  maxDepth: 5,
  maxFiles: 200
})
  1. If MCP tools are unavailable, fall back to the CLI:
context-mode index . --source project:<name>
  1. Report the indexed source label, file count or section count, and the matching search command:
ctx_search({ source: "project:<name>", queries: ["..."] })

Safety

  • Do not index dependency directories, build outputs, secrets, or generated artifacts.
  • Prefer --exclude or exclude for project-specific noisy paths.
  • For broad repos, ask the user before raising maxFiles above 500.

Related Skills

View on GitHub
GitHub Stars24.1k
CategoryDevelopment
Updated3d ago
Forks1.7k

Languages

TypeScript

Trust signals

88/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium