horka-project-index

horka-project-index is a skill for Claude Code from joey-barbier/ClaudeCode-Plugin. It costs 159 tokens per session (2,064 once invoked), scanned A, original, MIT.

A project registry for coding assistants working across multiple projects. It connects project names and aliases to folders, identifies the right project for generic commands, and detects monorepos, which are repositories containing several related projects.

In plain words
What is it for?
Use it to build and inspect a project index, resolve command targets, identify the project that owns a skill or command, and add new projects to the registry. It requires Python 3.7 or later and Git.
Why use it?
It prevents commands such as writing a changelog from being applied to the wrong folder. It also gives the assistant a consistent view of projects opened in different locations.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the horka-project-index plugin — 1 skill shipped together

Good fit Use it to build and inspect a project index, resolve command targets, identify the project that owns a skill or command, and add new projects to the registry. It requires Python 3.7 or later and Git.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add joey-barbier/ClaudeCode-Plugin
Claude Code
/plugin install horka-project-index

Made for: Claude Code.

Or install horka-project-index, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for horka-project-index

README.md
[![agentmods](https://agentmods.dev/badge/skills/joey-barbier/claudecode-plugin/horka-project-index/github.svg)](https://agentmods.dev/skills/joey-barbier/claudecode-plugin/horka-project-index)
Your own site
<a href="https://agentmods.dev/skills/joey-barbier/claudecode-plugin/horka-project-index"><img src="https://agentmods.dev/badge/skills/joey-barbier/claudecode-plugin/horka-project-index/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for horka-project-index

Your own site · 80×15
<a href="https://agentmods.dev/skills/joey-barbier/claudecode-plugin/horka-project-index"><img src="https://agentmods.dev/badge/skills/joey-barbier/claudecode-plugin/horka-project-index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,064 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00159 $0.02064
Opus 5 $0.00079 $0.01032
Sonnet 5 $0.00032 $0.00413
Haiku 4.5 $0.00016 $0.00206

Measured 11d ago against content hash cdede3ee8083, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

horka-project-index scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (build_index.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/horka-project-index/skills/horka-project-index/SKILL.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Project Index

Global project registry for Claude Code's multi-project view (Agent View / "FleetView"). Claude identifies a project by its cwd, but has no native way to name/describe a project, nor to tie a generic command ("write the changelog") to the right folder. This skill fills that gap.

Scope: multi-project by design, but stays quiet if you only have one project (nothing to disambiguate → act on the current project). Requires Python ≥ 3.7 and git on PATH (macOS / Linux / WSL / Windows). Honors CLAUDE_CONFIG_DIR.

Files

Let $SKILL be this skill's own directory — its absolute path is given at skill-load time as "Base directory for this skill: …", and equals ${CLAUDE_PLUGIN_ROOT}/skills/horka-project-index when installed as a plugin. Always call the script with that absolute path; never assume a hardcoded location.

  • Builder: $SKILL/build_index.py (no hardcoded user paths)
  • Canonical index: <config>/projects-index.json
  • Readable view: <config>/PROJECTS.md

<config> = $CLAUDE_CONFIG_DIR else ~/.claude. Use --status for the exact paths.

Data model

Two entry types:

  • project — a folder actually opened with Claude (source: the real cwd read from the transcripts <config>/projects/*/*.jsonl; folder names are never decoded — ambiguous: dev-ccdev/cc).
  • workspace — a parent folder containing a .claude/ and ancestor of at least one project (e.g. a monorepo LibTracker/ hosting API + front + sdk). It may have no history but can own shared skills/commands — that is often the level that should run a cross-cutting action.

Each entry carries: name, path, type, exists, aliases, stack, description, skills, commands (what the folder provides via its .claude/), git_remote, branch, last_active, and members (workspaces).


§A — Resolve a command's target

Goal: go from a fuzzy command to the right folder, never by guessing. Golden rule: nominal first, and when in doubt → ask (AskUserQuestion).

Read the full file on GitHub · 167 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 167 lines · 159 tokens per session scan A cdede3ee8083

Subscribe to this mod's changes

horka-project-index is a skill published in the GitHub repository joey-barbier/ClaudeCode-Plugin (22 stars, last pushed 2mo ago), licensed MIT. It adds 159 tokens to every session and 2,064 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories