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:
- 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 mainYou 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 --yesExpected output:
✓ 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: githubNotice 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:
✓ Created skills/demo-skill (progressive)
SKILL.md
references/guide.md

Three things to notice:
- The skill went to
skills/demo-skill/— becauseagore.yamllistsskills/*inskill.paths, that is where new skills are scaffolded. - The name must be kebab-case (
demo-skill, notDemo 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 inspectExpected output (in a terminal it is a colorful panel; plain text shown here):
╭─────────────────────────────────────────────╮
│ 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.](/demos/inspect.gif)
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 --strictExpected output:
✓ 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 --cleanExpected output:
✓ 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.gzdemo-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?
--snapshotworked 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,.gitignoreand.github/, and you are back to a bare repository.
Where to go next
- Real releases with independent git tags: How to release a skill.
- The exact rules lint checked: Lint rules reference.
- Why the tag is the single source of truth: Why the Git tag is the SSOT.