Contribute to MIDSKILLS

Skills are markdown that AI agents fetch and follow — accuracy matters more than volume. Everything lives in the public Midnight-skills registry.

Today: 42 skills · 10 runnable templates · 5 shared references

Ways to contribute

Pick what fits — each has one place it lives in the registry.

Add a new skill

.agents/skills/<id>/SKILL.md + skills.json

Improve a skill

Edit that skill's SKILL.md — fix errors, add gotchas

Add an error lookup

.agents/skills/midnight-common-errors/errors.json

Shared references

references/ — provider wiring, gotchas, version pins

Runnable template

templates/<name>/ + templatePath in skills.json

List a community skill

community.skills in skills.json (your own repo)

Set up in a minute

Clone the registry and run the same checks CI runs.

  1. 1
    git clone https://github.com/Kali-Decoder/Midnight-skills.git && cd Midnight-skills
  2. 2
    npm install
  3. 3
    npm run sync:registry
  4. 4
    npm run validate:registry && npm run check:versions

Adding a skill, step by step

  1. STEP 01

    Pick an id and folder

    Kebab-case id, unique across skills.json. The file lives at .agents/skills/<id>/SKILL.md.

  2. STEP 02

    Write SKILL.md

    Frontmatter name + a trigger-rich description, a numbered workflow, copy-paste code, a troubleshooting table. Keep it under ~500 lines; move long listings to <skill>/references/.

  3. STEP 03

    Register in skills.json

    Add an entry with category, taskHint, routerBullets and short tags. Optionally add it to a learning path.

  4. STEP 04

    Sync generated files

    npm run sync:registry regenerates the router, README tables and package.json. Never hand-edit those blocks — CI fails if they drift.

  5. STEP 05

    Run the checks

    npm run validate:registry and npm run check:versions — the same checks CI runs on your PR. Version literals must match references/versions.json.

  6. STEP 06

    Open a pull request

    Title it Add skill: … or Update <skill>: …. Say what task it helps with and which network you tested on.

Starter files

Copy these, then fill them in. tags are the short UI pills; routerBullets are what agents read when choosing a skill.

.agents/skills/your-skill-name/SKILL.md

---
name: your-skill-name
description: >
  What this skill does AND when an agent should use it.
  Include trigger phrases: "user asks about X", "errors like Y".
---

# Your Skill Title

One-sentence summary of the outcome.

## Workflow
1. First step
2. Second step

## Troubleshooting
| Symptom | Cause | Fix |
|---------|-------|-----|

## Related Skills
| Task | Skill |
|------|-------|

skills.json → skills[]

{
  "id": "your-skill-name",
  "name": "Your Skill Display Name",
  "path": ".agents/skills/your-skill-name/SKILL.md",
  "description": "Short description for README and site (1–2 sentences).",
  "enabled": true,
  "featured": false,
  "category": "foundation",
  "taskHint": "Short phrase for the router task table",
  "tags": ["Compact", "Privacy"],
  "routerBullets": ["First bullet for the router index.", "Second bullet."]
}

Contribution rules

  • Midnight-only scope — Compact, midnight-js, wallets, indexer, privacy patterns, or full Midnight dApps.
  • Accuracy over volume — versions live only in references/versions.json; prefer patterns verified on preprod.
  • Written for agents — trigger phrases, numbered workflow, correct imports, troubleshooting, related skills.
  • One registry — edit skills.json or the data file, then sync. Never hand-edit generated blocks.
  • No secrets — no .env files, API keys, mnemonics or private keys; use placeholders.
  • MIT license — contributions are licensed under the project's MIT License.

Skill categories

Live from the registry — pick the category your skill fits.

CategoryUse for
foundation18Concepts, the Compact language, toolchain and protocol references
full-template10End-to-end dApp build guides; the most detailed skills
wallet5Browser or headless wallet integration
sdk5TypeScript SDK usage — midnight-js, indexer, providers
domain4Specific product patterns — tokens, NFTs, security

Ready?

Read the full guide, look at how existing skills are written, then open your PR.

Create Social CardLive HackathonsGallery
Mock Demo
Contribute | MIDSKILLS