Agent skill

Codebase Index

by murphytrueman in murphytrueman/design-system-ops

Generate machine-readable index files in .ai/index/ (component inventory, uses/usedBy graph, stats) for AI agents.

MITAuto-check passedAgent Workflows

Install Codebase Index

skills CLI
$ npx skills add murphytrueman/design-system-ops --skill codebase-index -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install murphytrueman/design-system-ops codebase-index --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/murphytrueman/design-system-ops.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codebase-index .claude/skills/codebase-index && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codebase-index
GitHub stars
201
Token cost
~4.7k tokens
SKILL.md length
1,816 words
Files
1
Skills in repo
36
Repo updated
First seen
Licence
MIT

At a glance

Generate machine-readable index files in .ai/index/ (component inventory, uses/usedBy graph, stats) for AI agents.

  • Works in 6 steps: Detect the framework and structure → Scan and build the component inventory → Build the relationship graph → …
  • Tasks that involve Codebase knowledge for agents
  • SKILL.md covers Before you begin: verify…, Context, Configuration and Auto-pull integrations, plus 8 more sections
  • Calls npx

What it does

Codebase Index is an agent skill from murphytrueman/design-system-ops. Generate machine-readable index files in .ai/index/ (component inventory, uses/usedBy graph, stats) for AI agents. Triggers: index my codebase, build a relationship graph, what depends on what. Not an assessment; for library health use component-audit.

Its SKILL.md is about 4.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Codebase knowledge for agents. The repository describes itself as: Claude Code skills for the work that keeps a design system alive. The licence is MIT.

When your agent uses it

  • Tasks that involve Codebase knowledge for agents

Example prompts

  • “/codebase-index”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Write, Grep, Glob, Bash(cat:*), Bash(find:*), Bash(head:*), Bash(ls:*), Bash(sort:*), Bash(tail:*), Bash(wc:*), Bash(git diff:*), Bash(git log:*), Bash(git rev-parse:*)

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Detect the framework and structure
  2. Scan and build the component inventory
  3. Build the relationship graph
  4. Generate summary statistics
  5. Produce the index output
  6. Output location and integration

What it can do on your machine

Read from SKILL.md and the folder at commit f167898. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Grep
    • Glob
    • Bash(cat:*)
    • Bash(find:*)
    • Bash(head:*)
    • Bash(ls:*)
    • Bash(sort:*)
    • Bash(tail:*)

    …and 4 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codebase Index loads about 4.7k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 1,816 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from murphytrueman/design-system-ops at commit f167898, republished under its MIT licence (© murphytrueman). 1,816 words, ~4,657 tokens.

Download SKILL.mdSave it as .claude/skills/codebase-index/SKILL.md (or your agent's skills folder).
name
codebase-index
description
Generate machine-readable index files in .ai/index/ (component inventory, uses/usedBy graph, stats) for AI agents. Triggers: index my codebase, build a relationship graph, what depends on what. Not an assessment; for library health use component-audit.
allowed-tools
Read, Write, Grep, Glob, Bash(cat:*), Bash(find:*), Bash(head:*), Bash(ls:*), Bash(sort:*), Bash(tail:*), Bash(wc:*), Bash(git diff:*), Bash(git log:*), Bash(git rev-parse:*)
references
../../knowledge-notes/ai-readiness.md, ../../knowledge-notes/component-governance.md, ../../knowledge-notes/output-discipline.md

Codebase index

A skill for generating a pre-computed, machine-readable index of a design system's codebase. The index contains three pieces: a component inventory, a relationship graph, and summary statistics. Together they form a queryable map that eliminates the need for AI agents or developers to explore the codebase from scratch every time they need to understand the system.

Before you begin: verify references

Confirm that every path in this skill's frontmatter references: exists relative to this SKILL.md. If any is missing, stop: the install is incomplete, usually because a flattening installer (for example npx skills install) dropped the repo-root knowledge-notes/ directory. Tell the user to reinstall by a method in 1-INSTALL.md and run verify-install.sh from the install root. Proceed without the references only if the user explicitly says to, and then say in the output that it was produced without the pack's reference material.

Context

An agent exploring a codebase from scratch is slow and misses things; an agent loading a pre-computed index gets the whole picture in a few thousand tokens. This skill writes that index, and it is the pack's single producer of the component inventory and dependency graph: token-audit, component-audit, docs-coverage, component-decision-tree and agent-instructions read .ai/index/ rather than building their own. Run it after adding or removing components, and commit the output alongside the code.


Configuration

If .ds-ops-config.yml exists, follow the configuration-and-recurring knowledge note (../../knowledge-notes/configuration-and-recurring.md) for loading, integration fallbacks and recurring runs. This skill reads:

  • system.framework — pre-selects framework detection
  • system.component_paths — overrides default component directory scanning
  • system.category_model — atomic design, functional, or custom categorisation
  • integrations.* — component data sources (see below)
  • recurring.* — delta against the previous index (see Recurring workflow)

Auto-pull integrations

Figma MCP (integrations.figma.enabled: true):

  • Read the published library from integrations.figma.file_key
  • Cross-reference the Figma component inventory against the code inventory to detect components that exist in design but not in code (or vice versa)
  • Pull description status per component to populate the metadata coverage field

Storybook (integrations.storybook.enabled: true):

  • Fetch the story index from integrations.storybook.url/index.json
  • Extract component list and documentation status
  • Use as a secondary source for component discovery

GitHub (integrations.github.enabled: true):

  • Pull PR activity for recency signals

Step 1: Detect the framework and structure

Scan the project root to determine:

  • Framework: React (JSX/TSX), Vue (SFC), Svelte, Astro, Angular, Web Components, or mixed
  • Component directories: Where components live — scan common locations: src/components/, src/lib/, components/, packages/, and any paths in tsconfig.json or framework config
  • Category model: How components are organised — atomic design (atoms/, molecules/, organisms/), functional (forms/, navigation/, feedback/), flat, or monorepo packages
  • Styling approach: CSS modules, CSS-in-JS, Tailwind, SCSS, or design tokens — this determines how to trace token dependencies

If no component files are found under any candidate root, stop and ask where they live; don't write an empty index.

Ask for or confirm (skip questions already answered by config or detection):

  • The component source root if auto-detection finds multiple candidates
  • Whether there are components in non-standard locations (e.g., a shared utils/ directory with reusable UI primitives)
  • Whether to include internal/private components in the index (underscore-prefixed, internal/ directories, components not re-exported from barrel files)

Framework detection rules:

SignalFramework
.jsx / .tsx files with JSX returnsReact
.vue files with <template> blocksVue
.svelte filesSvelte
.astro filesAstro
.component.ts with @Component decoratorAngular
customElements.define()Web Components
Mixed signalsAsk the user

Step 2: Scan and build the component inventory

For every component file found, extract:

  • Name: The component's exported name
  • Path: Relative path from project root
  • Category: Based on the category model (atom, molecule, organism, etc.) or functional category (navigation, form, feedback, layout, data display)
  • Metadata status: Whether the component has structured metadata (a .metadata.ts, .metadata.json, description in Storybook, JSDoc/TSDoc block, or Figma description)
  • Export type: Default export, named export, or re-exported through a barrel file
  • Token bindings: the design tokens the component's styles reference (var(--color-action-primary), $space-gap, theme.colors.primary, Tailwind utilities that map to configured tokens). Record the token names as the codebase writes them. This is the token-to-component edge that token-audit and component-audit read for blast radius, so they don't each build a second graph

What counts as a component:

  • Files that export a renderable element (JSX, template, render function)
  • Files explicitly registered in a component index, barrel file, or Storybook config
  • Exclude: pure utility functions, hooks/composables (unless they return JSX), type definitions, test files, story files

Category assignment:

  • If the directory structure encodes categories (atomic design folders, functional folders), use directory position
  • If the structure is flat, infer from component characteristics: components with no child components are atoms/primitives, components that compose other system components are compounds, components with significant built-in logic or product-specific context are features
  • If uncertain, assign uncategorised and flag for manual review
Inventory format

Produce the inventory in YAML for readability and token efficiency:

yaml
components:
  Button:
    path: src/components/atoms/Button/Button.tsx
    category: atoms
    metadata: true
    tokens: [--color-action-primary, --color-on-action, --space-inset-md]
  Card:
    path: src/components/molecules/Card/Card.tsx
    category: molecules
    metadata: true
  DataTable:
    path: src/components/organisms/DataTable/DataTable.tsx
    category: organisms
    metadata: false

Step 3: Build the relationship graph

For every component in the inventory, trace two relationships:

  • uses: Which other system components does this component import and render?
  • usedBy: Which other system components import and render this component?

How to trace relationships:

  1. Parse import statements in each component file
  2. Resolve each import specifier before filtering. In a monorepo, @acme/button is a workspace package, not an external dependency — map workspace package names (from package.json workspaces, pnpm-workspace.yaml, or equivalent) and tsconfig.json paths aliases (@/components/*) to their source directories. Then filter to imports that resolve to components in the inventory, and drop genuine third-party packages, utility imports and type-only imports
  3. For each import, verify it's actually rendered in the template/JSX (an unused import is not a relationship)
  4. Record the relationship bidirectionally — if Card imports Button, then Card uses Button and Button usedBy Card

Deep tracing rules:

  • Follow dependency chains to their leaves. If a page imports a layout, and the layout imports a nav, and the nav imports a link and an icon — the full chain matters for understanding which atoms actually appear on that page.
  • Components with uses: [] (empty) are leaf nodes — they have no internal dependencies on other system components. These are the terminal nodes in the graph.
  • Components with usedBy: [] (empty) are root nodes — nothing else in the scanned repo renders them. Label these "no in-repo consumers", not orphans or unused: a public component exported from the package entry point is meant to be consumed by product repos this index doesn't scan. Only non-exported components with no in-repo consumers are worth flagging, and even then as candidates.
  • Before recording any "no in-repo consumers" result, run a positive control: confirm the import and render matching finds a component you know is used (e.g. Icon inside Button). If it doesn't, the matching is wrong for this codebase — fix it before writing the graph.

Instance counting: Import count and instance count are different metrics. A page might import Button once but render it five times. Instance counting requires parsing templates, not just import statements.

  • Count tags matching <Name[\s/>] — the trailing space, / or > stops <Button from also matching <ButtonGroup. Resolve import aliases first (import { Button as Btn } means count <Btn)
  • Namespace imports render as <UI.Button — match <Namespace\.Name[\s/>] (escape the dot) for each namespace import
  • In Vue templates, components can be written in kebab-case: match <button-group[\s/>] as well as <ButtonGroup[\s/>]
  • Detect slot/children components: if Button contains a <slot /> and someone writes <Button><Icon /></Button>, the Icon instance belongs to the parent scope, not to Button's internals. Don't recurse into slot content for instance counting.
Show full SKILL.md (608 more words)Show less
Relationship graph format
yaml
relationships:
  Card:
    uses: [Text, Button, Icon]
    usedBy: [ProductCard, UserProfile]
  Button:
    uses: [Icon]
    usedBy: [Card, Form, Nav, Modal, Dialog, Header]
  Icon:
    uses: []
    usedBy: [Button, Card, Nav, MenuItem, Alert]
  Tooltip:
    uses: []
    usedBy: [CopyButton]
  CopyButton:
    uses: [Tooltip]
    usedBy: [CodeBlock]

This format makes dependency chains explicit. An agent reading this graph knows immediately that Tooltip is actively used (by CopyButton, which is used by CodeBlock) even though no page imports Tooltip directly.

Step 4: Generate summary statistics

Compute aggregate metrics that give an at-a-glance picture of the system's shape (figures below are illustrative):

yaml
summary:
  totalComponents: 55
  componentsWithMetadata: 54
  relationshipsMapped: 302
  categories:
    atoms: 18
    molecules: 15
    organisms: 12
    templates: 4
    pages: 6
  noInRepoConsumers:
    exported: 14    # public components; consumed by product repos, not a finding
    internal: 2     # not exported and not rendered in-repo; candidates for review
  mostDependedOn:
    - name: Icon
      fanIn: 14
    - name: Button
      fanIn: 11
    - name: Text
      fanIn: 9
  highestFanOut:
    - name: Header
      fanOut: 8
    - name: ProductCard
      fanOut: 6
  metadataCoverage: 98%
  averageInstancesPerComponent: 9.6

Key metrics to compute:

  • totalComponents: Count of all components in the inventory
  • componentsWithMetadata: Count of components with structured metadata files or descriptions
  • relationshipsMapped: Total number of relationship edges in the graph (sum of all uses arrays)
  • categories: Breakdown by category model
  • noInRepoConsumers: Components with usedBy: [] and no direct use in pages or layouts, split into public exports (expected) and internal components (candidates for review). Never label these "unused" — consumers outside the repo weren't checked
  • mostDependedOn: Top components by fan-in count (usedBy length). These are foundation components — changes propagate widely
  • highestFanOut: Top components by fan-out count (uses length). These are integration points — fragile to upstream changes
  • metadataCoverage: Percentage of components with structured metadata
  • averageInstancesPerComponent: Total instances across all pages divided by total components (if instance counting was performed)

Step 5: Produce the index output

Generate three output files to be committed alongside the codebase. Both YAML files start with the same generation metadata, so any reader can tell whether the index is current:

yaml
meta:
  generatedAt: 2026-03-10T14:22:05Z
  commit: 3f9c2ab            # git rev-parse --short HEAD at generation time
  dirtyWorkingTree: false    # true if uncommitted changes were scanned
  scannedPaths: [packages/*/src, src/components]
  excludedPaths: ["**/*.stories.tsx", "**/*.test.tsx"]
File 1: component-inventory.yml

The generation metadata plus the full component inventory from Step 2.

File 2: component-relationships.yml

The generation metadata plus the full relationship graph from Step 3 and the summary statistics from Step 4.

File 3: query-protocols.md

A markdown file with instructions for how to use the index. This file teaches AI agents (or developers) how to read the map:

markdown
# Query protocols

When answering questions about the design system codebase:

1. Check freshness first. Compare meta.commit with `git rev-parse --short HEAD`.
   If they differ, run `git diff --name-only <meta.commit> HEAD` against
   meta.scannedPaths. If component files changed, treat the index as stale
   for those components: read the source for them, and suggest regenerating.

2. Check the index next. Before reading any source file, check whether the
   answer exists in component-inventory.yml or component-relationships.yml.

3. Don't re-read an index that's current. If the relationship graph has
   already been loaded in this session and HEAD hasn't moved, reason over it.

4. Follow-up questions should be cheap. After the initial index load,
   subsequent questions should require zero or minimal file reads.

## Common query patterns

### "What components exist?"
→ Read component-inventory.yml. The full list with paths and categories.

### "Where is [Component] used?"
→ Check component-relationships.yml → relationships → [Component] → usedBy.

### "What does [Component] depend on?"
→ Check component-relationships.yml → relationships → [Component] → uses.

### "Is [Component] actually used?"
→ Check usedBy. If usedBy is non-empty, it's used in this repo. If usedBy is
  empty, check whether it appears in any page or layout file directly. If it
  still has no in-repo consumers, say exactly that: product repos outside
  meta.scannedPaths weren't checked, so it isn't evidence of "unused".

### "What atoms appear on [Page]?" (application repos only)
→ Pages and layouts exist in application repos, not in a design system
  package. If meta.scannedPaths holds an app, trace Page → imports → their
  imports → ... until you reach components with uses: []. In a system repo,
  say there are no pages to trace.

### "Which components bind [token]?"
→ Search component-inventory.yml for the token name under tokens:. The
  list is the in-repo blast radius of a token change.

### "If I change [Component], what breaks?"
→ Follow the usedBy chain recursively. Direct consumers are in usedBy.
  Indirect consumers are the usedBy of those consumers. Continue until
  you reach page/layout level.

### "Should I create a new component for [pattern]?"
→ Check the inventory for existing components that might serve the need.
  Check relationships to understand composition options. A new component
  is warranted only if no existing component or composition covers it.

Step 6: Output location and integration

Default output location: .ai/index/ in the project root. This keeps the index files co-located with the codebase and clearly namespaced.

.ai/
  index/
    component-inventory.yml
    component-relationships.yml
    query-protocols.md

Recommend to the user:

  • Commit these files to version control alongside the code
  • Re-run the index after adding, removing, or significantly restructuring components
  • Add an npm script or CI step to regenerate the index on changes to the component directories
  • Link .ai/index/ from AGENTS.md (agent-instructions does this) so agents find the index before exploring

Recurring workflow

Follows the recurring-run procedure in the configuration-and-recurring note. Specific to this skill: compare the new index against the previous one and produce a delta report:

  • Added components: Components in the new index that were not in the previous one
  • Removed components: Components in the previous index that are no longer present
  • New relationships: Dependency edges that did not exist before
  • Broken relationships: Dependency edges that existed before but are now gone
  • Metadata coverage change: Did coverage go up or down?
  • Newly without in-repo consumers: Components whose usedBy became empty since the last index

This delta is valuable for tracking system evolution over time and catching unintentional structural changes.


Quality checks

  • Every component file in the scanned directories is accounted for in the inventory — no files are silently skipped
  • Relationship graph is bidirectional — if A uses B, then B's usedBy includes A
  • Summary statistics are consistent with the inventory and graph data (totals match, percentages are accurate)
  • Both YAML files carry generation metadata (generatedAt, commit, scanned paths)
  • Nothing is labelled "unused" or "orphan"; empty usedBy is reported as "no in-repo consumers", with the positive control passed
  • Category assignment is based on the detected or configured model, not assumed
  • Internal/private components are either included or excluded consistently based on user preference
  • The query-protocols.md is tailored to the specific project's structure, not generic, and page-level queries appear only when an application was scanned
  • Every component carries its token bindings, so downstream skills can read the token graph from the index

© murphytrueman, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/codebase-index of murphytrueman/design-system-ops.

Open the folder on GitHubat commit f167898

Compare with similar skills

Codebase Index next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codebase Index compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codebase Index this skillmurphytrueman/design-system-ops201—~4.7kAutomated safety check: PassMIT
Winuimanagedcode/dotnet-skills486—~1.4kAutomated safety check: PassMIT
ccc Semantic Code Searchcocoindex-io/cocoindex-code2.7k—~938Automated safety check: PassApache-2.0
Context Engineeringabashev/vfs-s31069 repos~2.6kAutomated safety check: NotesApache-2.0
Repomix Codebase Packeryamadashy/repomix29k—~1.3kAutomated safety check: NotesMIT
Codebase Handbook BuilderRuhan-Wang/Harness_Handbook331—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • Winui

    managedcode/dotnet-skills

    Build or review WinUI 3 applications with the Windows App SDK, including MVVM patterns, packaging decisions, navigation, theming, windowing, and interop boundaries with other .NET stacks.

    486 GitHub stars~1.4k tokensUpdated today
    MobileAuto-check passed
  • ccc Semantic Code Search

    cocoindex-io/cocoindex-code

    Semantic code search and index management with the ccc CLI: the agent initializes, indexes and queries the project by concept, filtering by language or path.

    2.7k GitHub stars~938 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Context Engineering

    abashev/vfs-s3

    Optimizes agent context setup. An agent skill from abashev/vfs-s3.

    106 GitHub starsUsed in 9 repos~2.6k tokens
    Agent WorkflowsAuto-check: notes
  • Repomix Codebase Packer

    yamadashy/repomix

    Packs a local directory or remote GitHub repository into one AI-friendly file with Repomix, then searches it to explore structure, find patterns and count tokens.

    29k GitHub stars~1.3k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check: notes
  • Codebase Handbook Builder

    Ruhan-Wang/Harness_Handbook

    Generates, refreshes, validates and uses a compact handbook that maps where a change touches in a repository, using the active Codex session and no external LLM API.

    331 GitHub stars~2.2k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Codemap

    JordanCoin/codemap

    Gives an agent a quick map of a codebase's structure, dependencies, changes and handoffs, and tunes per-project config so the output stays code-first.

    704 GitHub stars~1.8k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from murphytrueman/design-system-ops

All 36 skills in this repo
  • Agent Instructions

    murphytrueman/design-system-ops

    Write the AGENTS.md that tells coding agents how to use this design system: where things live, sourced rules, how to check work, what not to do; Claude, Cursor or Copilot pointers on request.

    201 GitHub stars~2.3k tokensUpdated 13 days ago
    Auto-check passed
  • AI Component Description

    murphytrueman/design-system-ops

    Write a six-section prose description (purpose, props, anti-patterns, composition, accessibility, examples) for a Figma component's description field so LLMs read it via MCP.

    201 GitHub stars~4.7k tokensUpdated 13 days ago
    Auto-check passed
  • Change Communication

    murphytrueman/design-system-ops

    Write release notes, a migration guide and a team announcement for a design system change that is already decided, scaled to its impact.

    201 GitHub stars~3.4k tokensUpdated 13 days ago
    Auto-check passed
  • Codemod Generator

    murphytrueman/design-system-ops

    Generate tested jscodeshift/postcss codemods for design system migrations: token renames, prop renames or removals, import paths, component swaps.

    201 GitHub stars~4.9k tokensUpdated 13 days ago
    Auto-check passed
  • Component API Validator

    murphytrueman/design-system-ops

    Audit prop APIs across a component library: naming consistency, boolean/default patterns, type coverage, exported types, breaking changes between versions.

    201 GitHub stars~4.3k tokensUpdated 13 days ago
    Auto-check passed
  • Component Decision Tree

    murphytrueman/design-system-ops

    Write "choosing between" pages (docs/choosing/) that route an intent to the right component via narrowing questions; YAML trees on request.

    201 GitHub stars~4.9k tokensUpdated 13 days ago
    Auto-check passed

Questions about Codebase Index

What does Codebase Index do?

Generate machine-readable index files in .ai/index/ (component inventory, uses/usedBy graph, stats) for AI agents. Codebase Index is an agent skill from murphytrueman/design-system-ops.ai/index/ (component inventory, uses/usedBy graph, stats) for AI agents.

When should I use Codebase Index?

Codebase Index fits situations like: tasks that involve Codebase knowledge for agents.

How do I install Codebase Index in Claude Code?

Run `npx skills add murphytrueman/design-system-ops --skill codebase-index -a claude-code`. Or copy the skill folder (skills/codebase-index in murphytrueman/design-system-ops) into .claude/skills/codebase-index in your project. Claude Code loads it when a task matches its description.

How do I install Codebase Index in Codex?

Run `npx skills add murphytrueman/design-system-ops --skill codebase-index -a codex`. Or copy the skill folder (skills/codebase-index in murphytrueman/design-system-ops) into .agents/skills/codebase-index in your project. Codex loads it when a task matches its description.

Can I use Codebase Index in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add murphytrueman/design-system-ops --skill codebase-index -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codebase-index, .gemini/skills/codebase-index, .github/skills/codebase-index and .opencode/skills/codebase-index in your project.

What does Codebase Index need to run?

Going by SKILL.md and its folder, Codebase Index needs the command-line tools its instructions call (npx). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Write, Grep, Glob, Bash(cat:*), Bash(find:*), Bash(head:*), Bash(ls:*), Bash(sort:*), Bash(tail:*), Bash(wc:*), Bash(git diff:*), Bash(git log:*), Bash(git rev-parse:*).

Does Codebase Index access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Codebase Index safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Codebase Index use?

Codebase Index is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Codebase Index use?

About 4.7k tokens (SKILL.md is roughly 19k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codebase Index?

Skills that share tags, products or a category with Codebase Index: Winui (managedcode/dotnet-skills, 486 stars), ccc Semantic Code Search (cocoindex-io/cocoindex-code, 2.7k stars), Context Engineering (abashev/vfs-s3, 106 stars) and Repomix Codebase Packer (yamadashy/repomix, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codebase Index?

murphytrueman (a GitHub user) maintains it in murphytrueman/design-system-ops, which has 201 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on September 24, 2026.

Source: murphytrueman/design-system-ops on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.