jd-sub-index

jd-sub-index is a skill for Claude Code from ngerakines/jd. It costs 119 tokens per session (1,457 once invoked), scanned A, original, Apache-2.0.

A file-management guide for Johnny.Decimal “+SUB” indexes, which list repeated items inside an organized folder category. It handles numeric or short-code labels such as 53.01+0001 or 11.01+OAKS.

In plain words
What is it for?
Use it to add projects or other entries, find the next available number, scan existing +SUB folders, and update their index.
Why use it?
It helps keep the index and its actual folders in agreement, so entries do not go missing or receive conflicting identifiers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the jd plugin — 6 skills, 6 commands shipped together

Good fit Use it to add projects or other entries, find the next available number, scan existing +SUB folders, and update their index.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ngerakines/jd/jd-sub-index
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ngerakines/jd --skill jd-sub-index
Clone the repo
git clone --depth 1 https://github.com/ngerakines/jd

Made for: Claude Code.

Or install jd, the plugin that ships this one along with the rest of its 6 skills, 6 commands.

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 jd-sub-index

README.md
[![agentmods](https://agentmods.dev/badge/skills/ngerakines/jd/jd-sub-index/github.svg)](https://agentmods.dev/skills/ngerakines/jd/jd-sub-index)
Your own site
<a href="https://agentmods.dev/skills/ngerakines/jd/jd-sub-index"><img src="https://agentmods.dev/badge/skills/ngerakines/jd/jd-sub-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 jd-sub-index

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngerakines/jd/jd-sub-index"><img src="https://agentmods.dev/badge/skills/ngerakines/jd/jd-sub-index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,457 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.00119 $0.01457
Opus 5 $0.00060 $0.00728
Sonnet 5 $0.00024 $0.00291
Haiku 4.5 $0.00012 $0.00146

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

Security

Grade A, and why

jd-sub-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 10d ago.

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.

jd/skills/jd-sub-index/SKILL.md · 219 lines

How it starts

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

Johnny.Decimal +SUB Index Manager

This skill maintains +SUB index files within categories that use the AC.ID+NNNN or AC.ID+CODE extension pattern. It keeps index files in sync with the actual +SUB folders and helps create new entries.


1. Understand +SUB Extensions

+SUB extends the AC.ID notation for items that repeat across many instances within a single ID.

Numeric +SUB: AC.ID+NNNN

Zero-padded four-digit sequential number:

53.01+0001  weather-api
53.01+0002  task-runner
53.01+0003  auth-dashboard

Named +SUB: AC.ID+CODE

Short alphanumeric code:

11.01+REDD  The Red Door
11.01+OAKS  Oak Street Cafe
11.01+RIVR  Riverside Grill

When Each Format is Used

Numeric +NNNN Named +CODE
Items are primarily sequential Items have natural short codes
No inherent abbreviation Abbreviations are obvious and useful
Expect many entries (20+) Expect fewer, memorable entries
Example: projects, trips, campaigns Example: accounts, venues, people

2. Locate +SUB Categories

2.1 Find the System

Check common JD root locations and identify the target system. If the user specifies a system code and category, go directly there. Otherwise, scan for +SUB categories.

2.2 Identify +SUB Categories

A category uses +SUB if it contains folders matching the pattern:

AC.ID+NNNN Description/
AC.ID+CODE Description/

Scan the system's categories and list those with +SUB folders.

2.3 Find the Index File

Each +SUB category should have an index file. Common patterns:

  • AC.ID [Category] index.md (e.g., 51.01 Open-source project index.md)
  • AC.00 [Category] index.md (e.g., 51.00 Projects area index.md)

If no index file exists, offer to create one.


3. Scan Existing Entries

List all +SUB folders within the target category/ID. For each entry, capture:

  • The +SUB identifier (number or code)
  • The description (from folder name)
  • Whether the folder contains content or is empty
  • Creation date (from folder metadata or earliest file date)

Read the full file on GitHub · 219 lines

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. 10d ago First seen · 219 lines · 119 tokens per session scan A 7f1f91ee8298

Subscribe to this mod's changes

jd-sub-index is a skill published in the GitHub repository ngerakines/jd (7 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 119 tokens to every session and 1,457 once invoked, about $0.0006 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-31.