Skip to content
Back to skills

Repository Capabilities

ASecurity

Inventory or map what a repository or one of its packages provides, in the Miadi Factory - its .miadi/capabilities.jsonl (packages, CLIs and their commands, skills, apps, plugins, work in progress, consumers), read with miadi-repomap and indexed in the jgwill hub. Use for "inventory the capabilities of", "what does <package> provide", "capability mapping", "repository mapping", "relational-git repository mapping", "@miadi/relational-git-repository-mapper", "medicine-wheel capabilities", "mw-r...

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentsbashawsgit

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned December 1, 2026

npx -y skills add jgwill/miadi-orchestration-kit --skill repository-capabilities --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repository Capabilities?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Repository Capabilities
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jgwill-repository-capabilities/badge)](https://www.skillsdirectory.com/skills/jgwill-repository-capabilities)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: repository-capabilities
description: Inventory or map what a repository or one of its packages provides, in the Miadi Factory - its .miadi/capabilities.jsonl (packages, CLIs and their commands, skills, apps, plugins, work in progress, consumers), read with miadi-repomap and indexed in the jgwill hub. Use for "inventory the capabilities of", "what does <package> provide", "capability mapping", "repository mapping", "relational-git repository mapping", "@miadi/relational-git-repository-mapper", "medicine-wheel capabilities", "mw-repomap", "miadi-repomap", "capabilities.jsonl", "miadi-capability://", or when a release, a new skill, a new command or a new plugin changes what a repository provides. Not the session inventory.
---

# Repository capabilities, in the factory

A repository says what it provides in a file committed with its code,
`.miadi/capabilities.jsonl`. Whoever clones it knows what it offers without a registry, an
account or the Factory. A hub reads that file. The wheel projects it.

## The method is the wheel's: read it from the tool

`@medicine-wheel/developer-repository-mapping` ships the method as two skills, so the text
describes the version of `mw-repomap` installed beside it. Read them before you act:

```bash
mw-repomap --version                          # 0.27.20 or later; npm i -g @medicine-wheel/developer-repository-mapping
mw-repomap skill show capability-mapping      # write and keep one repository's file: the loop, every shape, every flag
mw-repomap skill show capability-hub          # keep an owner's hub and index what its repositories provide
mw-repomap skill install --all --dir ~/.claude/skills   # to have both as loadable skills on this host
```

This skill holds only what is the factory's: how a person's words reach this work, who
signs, where the hub is, how the factory reads the result, and the cases already met.
When this text and the wheel's skill disagree about a command, the wheel's skill and
`mw-repomap capabilities --help` decide.

## Hearing the ask

| A person says | It means |
|---|---|
| "inventory the capabilities of <package>", "what does <package> provide" | the file of the repository that holds the package, with that package's rows stated. One file per repository, never one per package |
| "capability mapping", "repository mapping", "relational-git repository mapping", "medicine-wheel capabilities" | this skill |
| "session inventory", "inventory that tmux session" | not this skill: `miadi-mino-tmux-inventory` and the `miadi-witness:inventory-keeper` agent |

Guillaume, 2026-11-30, the ask that showed these words were missing: "inventory the @miaco/
capability using the jgwill/Miadi relational-git repository mapping which uses the
medicine-wheel/capability" (jgwill/miadi-orchestration-kit#176, jgwill/mia-code#101).

## Three places, three owners

| What | Where | Written by |
|---|---|---|
| what one repository provides | `<clone>/.miadi/capabilities.jsonl` | `mw-repomap capabilities scan --write`, then a person or an agent with `capabilities state` |
| what each of an owner's repositories is, and a copy of what each provides | `<owner>/<owner>/.miadi/repository-mapping/` in the owner's hub clone | `mw-repomap init`, `observe`, `move`, `capabilities index` |
| which agent sessions worked in which repository | the witness team's session inventory, joined by `@miadi/relational-git-repository-mapper` (`miadi-repomap`) | T1, the inventory keeper |

## What the factory adds to the wheel's loop

1. **An issue in the repository first.** The file's commit references it, and each stated
   row names it with `--issue <owner>/<repo>#<n>`. Load `structural-issue-authoring`.
2. **A worktree, never a main checkout.** The scan reads a commit, so commit what you
   want read, then scan.
3. **Signing.** `--by` is the agent's model id (`claude-fable-5-2`, `claude-opus-5-5`). A
   person signs with their name. Every row an agent states stays `pending`. Only a person
   affirms a row, and an agent never records that for them.
4. **Commit `.miadi/capabilities.jsonl` alone, by path,** and push. A change the file
   needs in the repository itself (a skill moved into a file, a workaround removed) is its
   own commit.
5. **After a release**, restate the stage with the new version
   (`--stage released --stage-grounding npm:<package>@<version>`).

## Shapes the factory has met

Each is a section of `capability-mapping`. The case is where it was first met.

- **A root package beside package folders no workspace joins** (jgwill/mia-code:
  `mia-code` at the root, `mia-co` in `miaco/`, and `miatel/`, `miawa/`). Declare the
  folders in the file's header: `capabilities scan --write --package-folders miaco,miatel,miawa`.
  The root is always read. The first file used a `pnpm-workspace.yaml` that no build read
  (jgwill/mia-code@daf950e), before the header could say it.
- **Package folders with no root package** (jgwill/smcraft, 11 folders): the same declaration.
- **A skill whose text was in code** (`miaco skill`, jgwill/medicine-wheel#187). The text
  became `miaco/skills/miaco/SKILL.md`, listed in the package's `files`. The scan then
  names the package on the skill's row, and the row reads at the package's stage. Never
  state a released skill `specified` to get it into the file.
- **A CLI's commands** (miaco's decompose, steer, memory, continue, executor, stc, chart,
  trace). Each is a row of kind `command`, named `<cli>/<command>`, enrolled with the file
  that defines it. They are capabilities and not features: the reasons are in
  jgwill/medicine-wheel#188.
- **Work in progress.** A command in a pull request is stated at `implementation` with
  `--stage-grounding <owner>/<repo>#<n>`. One only written down is stated `specified` with
  its issue or its specification.
- **Consumers in another repository.** jgwill/Miadi's `@miadi/pde-core`, `@miadi/pde-ui`
  and its `/pde` pages read the folders `miaco decompose` writes, with no dependency on
  `mia-co`. The provider names them: `--consumer miadi-capability://jgwill/Miadi/package/@miadi/pde-core --reads "<what it reads>"`.

## Reading it in the factory

```bash
mw-repomap capabilities show <clone>                 # HEAD of a clone: its own file first
miadi-repomap capabilities <owner/name>              # the same rows, read from the repository's clone on this host
miadi-repomap capabilities <owner/name> --clone <path>
miadi-repomap show <owner/name>                      # beside the sessions that worked there
```

Since `@miadi/relational-git-repository-mapper` 0.9.0 (jgwill/Miadi#1148) `miadi-repomap`
reads a repository's committed file from its clone: the one named with `--clone`, else found
under `MIADI_REPOSITORY_CLONES`, else beside the hub clone. It reads the default branch as
last fetched, so `git fetch` first for today's. `--capabilities <file>` and
`MIADI_REPOSITORY_CAPABILITIES` take a map (`mw-repomap capabilities map <clone>... --out <file>`),
never a repository's own file: given one, the command says so and exits 1.

Each row has an address, `miadi-capability://<owner>/<repo>/<kind>/<name>`. Episodes, issues,
inquiries and circle turns cite a capability by it.

## The jgwill hub

`/workspace/repos/jgwill/jgwill/.miadi/repository-mapping/` is the jgwill meta hub: the
public jgwill repositories, every row `pending`. `miadi-repomap` reads it when
`MIADI_REPOSITORY_MAPPING_HUB` names the clone. Work on it in a worktree, and leave its
submodules as they are.

- To add or revise a repository's row, and to index what repositories provide, follow
  `capability-hub`. The index is `provided.jsonl`:
  `mw-repomap capabilities index <hub> <clone>... --write`, then `mw-repomap validate <hub> --local`.
- **jgwill/jgwill is public.** A private repository has no row there, and the index writes
  nothing for a repository the hub does not list. Where private repositories are mapped is
  jgwill/medicine-wheel#186. Until then `miadi-repomap` reads a private repository such as
  jgwill/Miadi from its clone, and still lists its sessions.
- **A public package of a private repository** (`mia-co`, built in jgwill/mia-code) is not
  in the hub. How it is listed is Guillaume's to decide, with the options in
  jgwill/jgwill#3. Do not list it.

## Worked cases

- **jgwill/mia-code#101, 2026-11-30.** The first file (jgwill/mia-code@e30d282, 11 rows, two
  of them miaco's), then the header's package folders, miaco's skill as a file, its
  commands, the work in progress and the consumers in jgwill/Miadi, on format version 5.
- **jgwill/smcraft, 2026-11-28.** First file (`cf55594`). The scan found 13 skills and no
  package until the 11 folders were declared, then 30 rows. The 13 skills were stated in 55
  words or fewer, the 10 packages stated `released` with their npm versions and rispecs.
- **jgwill/miadi-orchestration-kit#168.** 98 skills (`c7e800d`), then the companion and film
  plugins with their components and pinned systems (`b517d43`).
- **jgwill/Miadi#1059.** An app at stage `prototype`, with where it is hosted and how a
  change reaches it.
- **jgwill/medicine-wheel@bd32c29.** The wheel's own file, with the two skills it ships and
  six `mw-repomap` commands.

## Related

- The format and its rules: `rise://jgwill/medicine-wheel/rispecs/developer-suite/repository-mapping/capabilities.spec.md`
- `@medicine-wheel/developer-repository-mapping` README; `@miadi/relational-git-repository-mapper` README (jgwill/Miadi `packages/relational-git-repository-mapper/`)
- jgwill/medicine-wheel#188 (format version 5), jgwill/medicine-wheel#185, jgwill/medicine-wheel#187
- Episode 568 (miadi-chronicle://568), where the Capability Registry was decided
- RISE 2.3.0, *Toward 3.0* (`/etc/claude-code/llms-rise-framework.txt`): a specification names the capability it draws, and the capability names the specification and its system

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.