Concepts
Artifact kinds
Dex Trove has seven kinds of artifact. They all look like “a Markdown file with frontmatter”, but a harness treats them very differently: some are always in the model’s context, some are loaded only when the model decides they’re relevant, some only when you type a command, and some run without the model being involved at all. Knowing which is which tells you what an item will cost, when it will act, and what it is allowed to do.
This page explains each kind and follows an item all the way from its upstream repository, through Dex Trove, into the harness that runs it. To choose between kinds, see Which artifact when.
At a glance
| Kind | What it is | Loaded when | Who decides | Runs code? | In the trove |
|---|---|---|---|---|---|
| skill | a folder of know-how and helpers | the task matches its description | the model | if it bundles scripts (62 do) | 901 |
| agent | a persona with its own instructions and tools | you pick it, or another agent delegates | you or a parent agent | through its tools | 522 |
| instruction | standing rules for matching files | always, for files matching applyTo | the harness | no | 189 |
| prompt | a reusable request | you type the command | you | no | 9 |
| hook | a command bound to a session event | the event fires | the harness | always | 7 |
| workflow | an agentic automation in CI | its trigger fires (schedule, issue, PR…) | the trigger | in CI, under declared permissions | 8 |
| plugin | a bundle of the above | when installed (its members then behave as above) | you | as its members | 72 |
Counts are for the current trove (1708 items). The live numbers are on the catalog.
The whole journey
Every item takes the same path. Dex Trove never edits upstream files; it adds evidence beside them.
flowchart TB
subgraph Upstream["Upstream repositories"]
direction LR
U1[awesome-copilot]
U2[superpowers]
U3[anthropic skills]
U4[first-party]
end
subgraph Dex["Dex Trove: dex learn"]
direction LR
A[Adapters<br/>parse each layout] --> K[Kind detection<br/>skill · agent · hook …]
K --> L{Licence gate<br/>redistributable?}
L -- no --> X[Excluded list<br/>with the reason]
L -- yes --> S[Secret and safety scan<br/>tags: executes-code]
S --> F[Facets sidecar<br/>task · phase · role …]
F --> T[(Trove<br/>upstream bytes + digest<br/>+ licence evidence)]
end
subgraph Targets["dex install"]
direction LR
C[Claude Code<br/>~/.claude/…]
G[GitHub Copilot<br/>.github/…]
D[Plain folder<br/>--target dir]
N[Ananke registry<br/>troves sync]
end
Upstream --> A
T --> C & G & D & N
- Learn. An adapter per source reads the upstream layout and decides each file’s kind.
- Admit. Only items whose licence permits redistribution go into the trove. Every exclusion is listed with its reason on the excluded page.
- Annotate. Dex scans for secret-shaped strings and code that runs. It also records facets (task, methodology, phase, role and more) in a sidecar, without touching the upstream file.
- Install.
dex installwrites the item into the native layout of the tool you choose. When the tool needs it, Dex adapts metadata; for example, it translates Copilot agenttoolsinto names Claude Code understands.
What happens inside a harness
Once installed, kinds act at different moments of an agent session. This is the core idea of this page:
sequenceDiagram autonumber actor You participant H as Harness<br/>(Claude Code, Copilot, Ananke) participant M as Model participant T as Tools and scripts H->>H: session starts: sessionStart hooks run H->>M: system context = active agent persona<br/>+ instructions whose applyTo matches<br/>+ names and descriptions of every skill You->>H: request (or /prompt-name) H->>M: your request (a prompt expands into its full text) M->>M: does a skill description match the task? M->>H: open SKILL.md of the matching skill H->>M: skill body (references and scripts stay on disk until asked for) M->>H: tool call (edit, run a command, call a helper script) H->>H: preToolUse hooks run (they can block the call) H->>T: execute the tool T-->>H: result H->>H: postToolUse hooks run H-->>M: tool result M-->>You: answer H->>H: session ends: sessionEnd hooks run
Read it as three layers:
- Always in context (pay every turn): the active agent persona and matching instructions. Keep these short.
- In context on demand (pay only when used): skills. Before use, only a skill’s name and description sit in context. Its body, references and scripts load progressively, so a hundred skills cost little until one is used.
- Outside the model: hooks run on events and never ask the model. Workflows run in CI on triggers. Prompts are expanded by the harness when you type them.
flowchart TB
subgraph Always["Always in context"]
AG[Agent persona]
IN[Instructions matching the open files]
end
subgraph Demand["Loaded on demand: progressive disclosure"]
D1[1. name + description<br/>of every skill] --> D2[2. SKILL.md body<br/>when the task matches]
D2 --> D3[3. references/ and scripts/<br/>only when the body points to them]
end
subgraph Outside["Outside the model"]
HK[Hooks: events]
WF[Workflows: CI triggers]
PR[Prompts: you type /name]
end
Always --> Model((Model))
Demand --> Model
PR -- expands into your message --> Model
Model -- tool calls --> HK
How kinds compose
Kinds are building blocks that refer to each other:
flowchart LR P[Plugin] -- bundles --> S[Skills] P -- bundles --> A[Agents] A -- may use --> S A -- may delegate to --> A2[Subagents] A -- calls --> T[Tools and MCP servers] W[Workflow] -- runs an agent with --> T H[Hook] -. guards .-> T I[Instructions] -. shape every edit to .-> F[(Matching files)] Pr[Prompt] -- starts --> A
- A plugin is only packaging: installing it installs each member.
- An agent decides how to behave. A skill gives know-how for one kind of task. A good agent stays general and leans on skills.
- Hooks and instructions constrain everything else: hooks around tool calls and session events, instructions around the files being edited.
Skill
A skill is a folder of instructions plus bundled resources (scripts, references, templates, assets) that an agent loads on demand when the task matches its description. It follows the Agent Skills specification:
my-skill/
├── SKILL.md frontmatter: name, description (+ license, allowed-tools, compatibility, metadata…)
├── references/ docs the agent reads only when needed
├── scripts/ deterministic helpers the agent runs
└── assets/ templates, examples, images
stateDiagram-v2 [*] --> Listed: installed (name + description in context) Listed --> Loaded: task matches the description Loaded --> Reading: body points to a reference Loaded --> Running: body asks for a script Reading --> Loaded Running --> Loaded: result returned Loaded --> Listed: task done
- Trigger: the
description. The harness shows the model only names and descriptions, and the model opensSKILL.mdwhen one matches. A good description says what the skill does and when to use it, including the words people actually type. - Context cost: about one line per installed skill until it is used.
- Safety: 62 skills bundle scripts. These are tagged
executes-codeand show runs code on their page. Read the scripts before you let an agent run them.allowed-toolsin the frontmatter narrows what the skill may use, where the harness supports it. - Claude Code:
dex install <ref> --target claude→~/.claude/skills/<name>/(user) or./.claude/skills/<name>/(--scope project). Claude Code discovers skills there automatically. - Copilot:
--target copilot→.github/skills/<name>/. - Ananke: kind
skill; activate after learning (see In Ananke Plexus).
Agent
An agent (custom agent, subagent or “chat mode”) is a persona with its own system instructions and, optionally, a tool allow-list, a preferred model and MCP servers. Upstream frontmatter commonly includes:
| Key | Meaning |
|---|---|
name, description | identity and when to use it |
tools | tools the agent may use (e.g. codebase, editFiles, runCommands) |
model | preferred model |
mcp-servers | MCP servers the agent expects |
argument-hint, user-invocable, handoffs | invocation details |
The item page shows all of these under Upstream metadata.
flowchart LR Y[You] -- pick the agent --> A[Agent persona<br/>its own instructions] P[Parent agent] -- delegates a subtask --> A A -- only the tools in its allow-list --> T[Tools / MCP] A -- may load --> S[Skills] A -- handoff --> B[Another agent] A -- summary back --> P
- Trigger: you select it, or a parent agent delegates to it as a subagent, which gets its own fresh context and returns a summary.
- Context cost: its whole body, for as long as it is active. In a subagent this cost stays out of the parent’s context.
- Safety: what it can do is bounded by its
tools. An agent withoutrunCommandscan’t run a shell. - Claude Code:
agents/<name>.md(a subagent).dex installtranslates Copilottoolsandmodelvalues into ones Claude Code can launch; see Agents in Claude Code. - Copilot:
.github/agents/<name>.agent.md. - Ananke: kind
agent; the manifest’sinstructions.refpoints at the entry file.
Instruction
An instruction file holds coding standards that the harness applies automatically to files matching its
applyTo glob (e.g. '**/*.py'). Item pages show the glob.
flowchart LR
E[You edit app/models.py] --> G{applyTo matches?}
G -- "**/*.py: yes" --> C[Rules added to context]
G -- "**/*.ts: no" --> N[Not loaded]
C --> M[Model writes code that follows them]
- Trigger: the harness, by file glob. The model doesn’t choose.
- Context cost: the whole file, every time a matching file is involved. Keep instructions short and specific.
- Safety: text only; nothing runs.
- Copilot:
.github/instructions/<name>.instructions.md. - Claude Code: no native equivalent. Install with
--target dirand reference the file fromCLAUDE.md, or turn it into a skill. - Ananke: kind
prompt, taginstruction.
Prompt
A reusable prompt file (*.prompt.md), invoked explicitly by the user. The current sources ship none, but the
awesome-copilot adapter supports them.
- Trigger: you, by name (
/name). The harness expands it into your message. - Context cost: only when you use it.
- Claude Code:
commands/<name>.md(a slash command). - Copilot:
.github/prompts/<name>.prompt.md.
Hook
A hook runs a command automatically when an agent session event fires (sessionStart, sessionEnd,
preToolUse, …). It is a folder with a README.md (frontmatter name, description, tags), a hooks.json
and usually a script:
{
"version": 1,
"hooks": {
"sessionEnd": [
{ "type": "command", "bash": ".github/hooks/secrets-scanner/scan-secrets.sh", "timeoutSec": 30 }
]
}
}
flowchart LR
EV[Session event<br/>sessionStart · preToolUse · postToolUse · sessionEnd] --> HJ[hooks.json<br/>which commands, which timeout]
HJ --> SH[Script runs on your machine<br/>no model, no prompt]
SH -- exit code / output --> R{preToolUse?}
R -- non-zero --> B[Tool call blocked]
R -- zero --> OK[Session continues]
- Trigger: the event. No model is involved and nobody is asked.
- Context cost: none, unless the hook’s output is fed back.
- Safety: hooks run code without asking, so Dex never installs one unless you pass
--allow-exec. Read the script first. Item pages list each event with its command and timeout. - Copilot:
.github/hooks/<name>/(with--allow-exec). - Ananke: kind
tool, tagshookandexecutes-code.
Workflow
An agentic workflow (GitHub Agentic Workflows) is a Markdown file whose
frontmatter declares triggers (on), permissions, safe-outputs, tools and engine, and whose body
is natural-language instructions. Item pages show the triggers and permissions.
flowchart LR TR[Trigger<br/>schedule · issue · pull request] --> CI[GitHub Actions runner] MD[workflow .md] -- gh aw compile --> LK[.lock.yml] LK --> CI CI --> AG[Agent engine runs the instructions<br/>with the declared tools] AG --> SO[safe-outputs only<br/>e.g. comment, open an issue]
- Trigger: an event in your repository, not a chat. It runs unattended.
- Safety: bounded by
permissionsandsafe-outputs. Check both before enabling a workflow. - Copilot / GitHub:
.github/workflows/<name>.md, then compile with thegh awCLI. - Ananke: kind
workflow.
Plugin
A plugin groups related skills and agents around a theme (e.g. arize-ax bundles 9 Arize skills). Upstream
it is a plugin.json (Agent Plugins) whose
extensions.com.github.awesome-copilot lists skills and agents.
flowchart LR PJ[plugin.json] --> R[Resolve members to trove items] R --> OK[Admitted members] R --> EX[Excluded members<br/>licence or scope: dropped] OK --> I[dex install installs each member] OK --> B[Ananke bundle<br/>members = ananke://kind/ns/name]
In Dex a plugin keeps its plugin.json and README.md, and its members are resolved to trove items:
dex install <plugin>installs every member into the target.- In Ananke the plugin becomes a bundle whose
membersareananke://<kind>/<ns>/<name>references.ananke registry resolve <ns>/<plugin> --explainshows the member graph. - Members excluded for licence or other reasons are dropped. A plugin with no admissible members, such as
awesome-copilot’s canvas-only plugins, is excluded as
out-of-scope.
Where each kind lands
| Kind | Upstream shape | Claude Code | GitHub Copilot | Ananke kind |
|---|---|---|---|---|
| skill | folder with SKILL.md | skills/<name>/ | .github/skills/<name>/ | skill |
| agent | *.agent.md or frontmatter .md | agents/<name>.md | .github/agents/<name>.agent.md | agent |
| instruction | *.instructions.md with applyTo | — | .github/instructions/ | prompt |
| prompt | *.prompt.md | commands/<name>.md | .github/prompts/ | prompt |
| hook | folder with README.md + hooks.json | — | .github/hooks/<name>/ | tool |
| workflow | agentic workflow .md | — | .github/workflows/<name>.md | workflow |
| plugin | plugin.json listing members | members | members | bundle |
”—” means the tool has no native equivalent; use --target dir and wire it up yourself.
In Ananke Plexus
Ananke Plexus treats every kind as a versioned capability in a registry, not as loose files. Dex Trove is one of its sources:
flowchart TB
subgraph In["1 · Bring in"]
direction LR
T[(Dex Trove)] -- registry troves sync --> L[learn<br/>identity · version · digest] --> RG[(Registry<br/>trust · channel · licence)]
end
subgraph Pin["2 · Choose and pin"]
direction LR
RS[resolve under policy<br/>an exact version] -- lock --> LK[ananke.lock<br/>digests pinned]
end
subgraph Use["3 · Use"]
direction LR
MT[activate: materialise<br/>runtime-native layout] --> RUN[Run] --> EV[(Evidence<br/>which versions were in play)]
end
In --> Pin --> Use
ananke registry troves enable dex-trovethenananke registry troves synclearns the slice you choose. Items flagged for secrets are skipped.ananke registry resolvepicks an exact version under your policy (trust, channel, licence).lockpins it inananke.lock, andverify-lockchecks the digests later.ananke registry activatematerialises the version for your project.translateshows the runtime-native file it will produce.- Every run records which capability versions were in play, so a result can be traced back to the exact skill text that shaped it.
See Using Dex Trove with Ananke for the commands in order.
Safety by kind
| Kind | Can run code | Dex default | What to check before use |
|---|---|---|---|
| skill | only through bundled scripts | installs; flags executes-code | the scripts, and allowed-tools |
| agent | through its tools | installs; adapts tool names | tools and mcp-servers |
| instruction | no | installs | that the glob is narrow enough |
| prompt | no | installs | nothing special |
| hook | yes, automatically | refused without --allow-exec | the script, every event it binds |
| workflow | yes, in CI | installs | permissions and safe-outputs |
| plugin | as its members | installs admitted members | each member, as above |
See the security model and licence policy for how these defaults are enforced.