Skip to Content
agore-skill
Tutorials

Your first skill end-to-end

Initialize a repo, scaffold a skill, inspect it, lint it, and produce a snapshot release.

In this tutorial we take an empty directory all the way to a bundled skill release. We use only the happy path — no flags beyond the ones shown — and at every step you will see exactly what a working result looks like.

All commands below were captured from a real run of agore-skill built from this repository. If your output differs materially, stop and compare against the expected result of the previous step before continuing.

What we are building towards

At the end of this tutorial you will have a repository with:

demo-repo
  • agore.yamlworkspace config
  • .gitignorecreated by init
  • .github/workflows
    • agore-skill.ymlgenerated CI workflow
  • skills/demo-skill
    • SKILL.mdentrypoint
    • references
      • guide.md108 tokens
  • dist
    • demo-skill_v0.0.0-snapshot.zip
    • demo-skill_v0.0.0-snapshot.tar.gz
    • demo-skill_v0.0.0-snapshot_checksums.txt
    • demo-skill_v0.0.0-snapshot_CHANGELOG.md

…and a lint report that comes back completely clean.

Step 1 — Create an empty git repository

mkdir demo-repo && cd demo-repo
git init -b main

You should see Initialized empty Git repository in .../demo-repo/.git/. The git repository matters later: inspect --changed and release read git state.

Step 2 — Initialize the workspace

agore-skill init --yes

Expected output:

agore-skill init --yes
✓ Created /path/to/demo-repo/agore.yaml

--yes skips the interactive form and writes detected defaults. Open the file:

# Generated by agore-skill init. Edit freely.
version: 1
project:
  name: demo-repo
  repository: ""
workspace:
  base: main
skill:
  paths:
    - .
    - skills/*
  exclude:
    - evals/**
    - tests/**
    - '**/*_test.*'
  lint:
    strict: false
    ignore: []
    budgets:
      description_max_tokens: 120
      body_max_tokens: 2500
      body_max_lines: 300
  release:
    publishers:
      - type: bundle
      - type: github

Notice that project.name was filled from the directory name (demo-repo) and repository stayed empty because the repository has no origin remote yet. Defaults like the budgets match the zero-config defaults, so you could delete this file and most commands would still work — only release requires it.

init also set up the rest of the lifecycle, silently: it created a .gitignore containing dist/ and .DS_Store, and generated .github/workflows/agore-skill.yml, a GitHub Actions workflow that inspects, lints and evaluates skills on pull requests and releases on v* tag pushes. Add --no-ci to init if you do not want the workflow. The skill.paths defaults shown here are also what init detects for an empty repository; a root SKILL.md would narrow them to ["."], a skills/ directory to ["skills/*"].

Step 3 — Scaffold a skill

agore-skill create demo-skill -t progressive -d "Use when testing agore-skill lifecycle tools and progressive disclosure."

Expected output:

agore-skill create demo-skill -t progressive -d ...
✓ Created skills/demo-skill (progressive)
  SKILL.md
  references/guide.md
Terminal recording of agore-skill create: the huh form opens with Skill Name, What does this skill do?, When should the agent trigger this skill? and a Template select. The operator types demo-skill, a description and a trigger, nudges the template highlight and submits; the CLI answers with a green Created skills/demo-skill (progressive) line and the scaffolded file list.
The interactive form in motion: answers, arrow keys, submit.

Three things to notice:

  • The skill went to skills/demo-skill/ — because agore.yaml lists skills/* in skill.paths, that is where new skills are scaffolded.
  • The name must be kebab-case (demo-skill, not Demo Skill).
  • The description starts with "Use when…" so lint's trigger-condition rule is satisfied from the start.

The progressive template generates SKILL.md plus a deeper references/guide.md that the entry point links to. That is progressive disclosure, covered in Explanation.

Step 4 — Inspect the context footprint

agore-skill inspect

Expected output (in a terminal it is a colorful panel; plain text shown here):

agore-skill inspect
╭─────────────────────────────────────────────╮
│ demo-skill  skills/demo-skill  [unreleased] │
│ L1 Metadata: 21 / 120 tokens                │
│   ████░░░░░░░░░░░░░░░░░░░░                  │
│ L2 Body: 128 / 2500 tokens (20 / 300 lines) │
│   █░░░░░░░░░░░░░░░░░░░░░░░                  │
│                                             │
│ L3 Progressive Disclosure  108 tokens       │
│ SKILL.md                                    │
│ ╰──references/                              │
│    ╰──guide.md (108 tokens)                 │
╰─────────────────────────────────────────────╯
Terminal recording of agore-skill inspect: a rounded panel titled demo-skill skills/demo-skill with a muted [unreleased] badge shows L1 Metadata at 21 of 120 tokens and L2 Body at 128 of 2500 tokens (20 of 300 lines) as partially filled progress bars, then L3 Progressive Disclosure at 108 tokens with the SKILL.md tree leading to references/guide.md.
The real panel, colors included: budget bars and the disclosure tree.

The panel shows how much context the skill costs at each level: the name plus description (L1), the body of SKILL.md (L2), and everything attached behind it (L3). Nothing is marked [ORPHAN] or [MISSING] — the reference the template created is real and used.

The title also carries a version badge read from git: a repository with no tags yet shows a muted [unreleased] — exactly what this fresh repo does. After your first tag, it becomes a green [v0.1.0], or a yellow [v0.1.0 · +N unreleased] while commits exist since that tag.

Step 5 — Lint it

agore-skill lint --strict

Expected output:

agore-skill lint --strict
✓ No lint issues found.

And the exit code is 0. With --strict, even warnings would fail the command; the generated template clears all ten rules, so nothing appears.

Step 6 — Make a snapshot release

agore-skill release --skill demo-skill --snapshot --clean

Expected output:

agore-skill release --skill demo-skill --snapshot --clean
✓ Bundled demo-skill v0.0.0-snapshot
  /path/to/demo-repo/dist/demo-skill_v0.0.0-snapshot.zip
  /path/to/demo-repo/dist/demo-skill_v0.0.0-snapshot.tar.gz
  /path/to/demo-repo/dist/demo-skill_v0.0.0-snapshot_checksums.txt
  /path/to/demo-repo/dist/demo-skill_v0.0.0-snapshot_CHANGELOG.md

Peek inside the artifacts if you like:

tar -tzf dist/demo-skill_v0.0.0-snapshot.tar.gz
tar -tzf dist/demo-skill_v0.0.0-snapshot.tar.gz
demo-skill/SKILL.md
demo-skill/references/guide.md

The archive's top-level directory is demo-skill/, so a consumer extracts it to a ready-to-use skill folder. The bundle walks the same file funnel as inspect and lint — dotfiles, dist/, agore.yaml, .gitignore'd paths and skill.exclude globs are all skipped — so what you inspect is what you publish. Nothing in the skill directory was modified — no version number was written anywhere into SKILL.md; the version lives in the tag and the artifact file names only.

Did you notice?

  • --snapshot worked on an empty repository with no git tags at all. It is the try-it-locally mode; real releases require a tag on HEAD and a clean working tree.
  • Every step was reversible: delete dist/, skills/demo-skill/, agore.yaml, .gitignore and .github/, and you are back to a bare repository.

Where to go next

On this page