skill-up
AGENTS.md1.1k starsChanged 7 months agoApache-2.0View on GitHub
This file follows the agents.md convention and provides machine-readable guidance for AI coding agents (Qoder, Claude Code, Codex, Cursor, etc.) working in this repository. For a human-oriented overview, see README.md and CONTRIBUTING.md. skill-up is a CLI evaluation framework for Agent Skill developers, written in Go. It loads declarative eval configs (evals/eval.yaml + cases/*.yaml), provisions an isolated workspace, invokes an Agent Engine (Qoder CLI / Claude Code / Codex), runs Judges (rule_based / script / agent_judge), and emits structured reports (JSON…
- Installs packages
Trending
More talk lately.thin dataabout the whole repository
Who's talking about alibaba/skill-up
- A Hacker News story“Show HN: Skill-up – Regression testing for Agent Skills”Hacker News · Jul 30, 2026 · 5 points
- @yug1224.com“AIエージェントのスキルを評価して進化させるための評価フレームワークツールらしい AIのパフォーマンス向上を検証したいときに使えそうかな yug1224 starred alibaba/skill-up …”Bluesky · Aug 2, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.alibaba.skill-up: init at 0.12.0”GitHub · Oct 3, 2026
- ProSkillsMD/proskills“[Candidate] alibaba/skill-up/examples/deepseek-harness - dsh-marker-reader”GitHub · Sep 26, 2026
- ProSkillsMD/proskills“[Candidate] alibaba/skill-up/examples/code-stats - code-stats”GitHub · Sep 26, 2026
The biggest 5 of 6 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 6
Talked about on GitHub, Hacker News and Bluesky (6 times).
On GitHub · 4
- Oct 3, 2026agent-skills.github.alibaba.skill-up: init at 0.12.0 — sudosubin/agents.nix0 reactions
- Sep 26, 2026[Candidate] alibaba/skill-up/examples/deepseek-harness - dsh-marker-reader — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] alibaba/skill-up/examples/code-stats - code-stats — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 6, 2026Curate skill-up and COBRA-Skills — YuxingLu613/awesome-agentic-evolution0 reactions
On Hacker News · 1
- Jul 30, 2026Show HN: Skill-up – Regression testing for Agent Skillssays it tested it5 points · 1 comment
On Bluesky · 1
- Aug 2, 2026AIエージェントのスキルを評価して進化させるための評価フレームワークツールらしい AIのパフォーマンス向上を検証したいときに使えそうかな yug1224 starred alibaba/skill-up https://github.com/alibaba/skill-up — @yug1224.com1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- skill-upperSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
18 rules. About 0 are common, 6 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
If you are in mainland China and go install is slow, set GOPROXY=https://goproxy.cn,direct before running the commands above.
- Distinctive: line 81
Add or update tests alongside any behavior change.
- Very specific: line 83
Avoid network-dependent tests.
- Very specific: line 101
Run make fmt before committing Go files.
- Very specific: line 102
Run make verify before declaring a change complete.
- Very specific: line 104
Keep the pinned tool versions consistent between Makefile (GOLANGCI_LINT_VERSION, REVIVE_VERSION), CI workflows under .github/workflows/, …
- Distinctive: line 107
Not introduce new abstractions, helpers, or files unless the task actually requires them.
- Very specific: line 173
When changing the schema: update schema.go, validator.go, their tests, defaults.yaml, and any affected example under examples/ or …
- Distinctive: line 187
Keep commits focused; prefer multiple small commits over one sweeping change.
- Distinctive: line 192
Before opening a PR:
- Very specific: line 196
If you touched anything under e2e/ or internal/runner/, also run make e2e.
- Very specific: line 197
Update CHANGELOG.md if the change is user-visible.
- Very specific: line 217
Do not create tags or invoke goreleaser release automatically — release cadence is owned by maintainers.
- Very specific: line 222
Do not modify go.mod / go.sum except via go get or make tidy.
- Very specific: line 223
Do not add new top-level directories without updating this file, CONTRIBUTING.md, and the Project Structure section of README.md.
- Distinctive: line 225
Do not disable or weaken existing lint rules, tests, or git hooks to make a change pass.
- Very specific: line 227
Do not introduce dependencies on internal/* from outside the module, or on GPL / network-only packages.
- Distinctive: line 229
Do not generate large refactors, planning docs, or analysis documents unless the task explicitly asks for them.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
This file follows the agents.md convention and provides machine-readable guidance for AI coding agents (Qoder, Claude Code, Codex, Cursor, etc.) working in this repository. For a human-oriented overview, see
README.mdandCONTRIBUTING.md.
Project overview
skill-up is a CLI evaluation framework for Agent Skill developers, written
in Go. It loads declarative eval configs (evals/eval.yaml + cases/*.yaml),
provisions an isolated workspace, invokes an Agent Engine (Qoder CLI / Claude
Code / Codex), runs Judges (rule_based / script / agent_judge), and emits
structured reports (JSON / JUnit / HTML / Anthropic grading.json).
- Module path:
github.com/alibaba/skill-up - Entry point:
cmd/skill-up/main.go - Go version: 1.25+ (see
go.mod) - License: Apache-2.0
Setup commands
# Fetch dependencies (only needed after cloning or go.mod changes)
go mod download
# Install git hooks (pre-commit + commit-msg). Idempotent; auto-runs on first build.
make hooks
# Install pinned lint tools into .tools/bin/ (golangci-lint v2.11.4, revive v1.10.0)
make lint-toolsIf you are in mainland China and go install is slow, set
GOPROXY=https://goproxy.cn,direct before running the commands above.
On Windows, make is unavailable by default; use the PowerShell equivalents
in scripts/windows/ (hooks.ps1, lint-tools.ps1, verify.ps1). See the
Windows support guide for supported features and
known limitations.
Build & run
# Standard build with version injection via ldflags -> bin/skill-up
make build
# Fast iteration build (no version injection)
go build -o bin/skill-up ./cmd/skill-up
# Run the CLI
./bin/skill-up --help
./bin/skill-up run ./evals/eval.yaml
./bin/skill-up validate ./evals/eval.yamlTesting
# Unit tests (race detector enabled — always use this)
make test
# equivalent: go test -race ./...
go test -race ./...
# GitHub Action adapter tests (requires Python 3)
make test-action
# Run a single test
go test -race -run TestFoo ./internal/config/
# End-to-end tests (build-tag gated, slower)
make e2e
# equivalent: go test -tags e2e -v ./e2eRules for agents:
- Always run
make testbefore declaring a change complete. New code must not break any existing tests. - Add or update tests alongside any behavior change. Table-driven tests are the dominant pattern in this repo — follow it.
- Avoid network-dependent tests; use fixtures under
internal/*/testdata/ore2e/testdata/for inputs. - E2E tests live in
e2e/and are gated by thee2ebuild tag; do not add them to regular unit packages.
Code style & static analysis
The CI gate (and pre-commit hook) is make verify, which chains:
fmt-check -> gofmt must be clean (run `make fmt` to auto-fix)
vet -> go vet ./...
revive -> revive -config revive.toml ./... (incremental linter)
lint -> golangci-lint run ./... (config: .golangci.yml)Agents MUST:
- Run
make fmtbefore committing Go files. - Run
make verifybefore declaring a change complete. If any step fails, fix the findings — do not disable lints to pass CI. - Keep the pinned tool versions consistent between
Makefile(GOLANGCI_LINT_VERSION,REVIVE_VERSION), CI workflows under.github/workflows/, and documentation. - Not introduce new abstractions, helpers, or files unless the task actually requires them. Bug fixes should stay local.
Language & comments:
- Public (exported) identifiers need Go doc comments starting with the name.
- Inline comments are sparse — only explain non-obvious intent.
- Comment and documentation language: English for code-level artifacts;
user-facing docs may be bilingual (
README.md+README.zh.md).
Repository layout
cmd/skill-up/ CLI main (keep minimal; delegate to internal/cli)
internal/ Private implementation — never import from outside the module
cli/ Cobra subcommands (run / validate / list-cases / report / import / debug)
config/ eval.yaml + cases/*.yaml loader, schema, validator (v1alpha1)
credential/ API key resolution (flags / env / ~/.skill-up/credentials.yaml)
runtime/ Workspace runtime: none / opensandbox
agent/ Agent Engine adapters (qoder_cli / claude_code / codex)
mcp/ MCP provisioner (mock / real)
skill/ Install Skill files into Engine's conventional path (excluding evals/)
evaluator/ Evaluator: iterates cases, calls agent.Run, returns CaseResult
evalevent/ Internal evaluation event model, publisher, lifecycle, and JSONL sink
judge/ Judges: rule_based, script, agent_judge
report/ Report generators: JSON / JUnit / HTML / Anthropic grading & benchmark
runner/ End-to-end orchestration for `skill-up run`
logging/ observability/ shellquote/ ui/ Cross-cutting utilities
pkg/ Publicly importable APIs (semver-stable; change with care)
skillup/ Embeddable evaluation API
transcript/ Transcript parsing helpers
plugins/ Agent host plugin sources; complete bundles are generated under ignored dist/
codex-skill-up/ Codex hooks/MCP adapter; packaging adds shared Skill/schema
dsh-skill-up/ DeepSeek Harness bundle with a generated skill-upper copy under dist/
skills/skill-upper/ Canonical source for the distributable Agent Skill that guides AI agents through the
skill-up eval workflow (scaffolding, running, interpreting).
Contains SKILL.md, assets/
templates, references/, and its own evals/ suite. Not part of
`go build`; consumed by Agent Engines (Cursor, Claude Code,
Qoder, etc.) at runtime.
e2e/ End-to-end tests (build-tag gated) + testdata/
examples/ Example fixtures and debug inputs
docs/ Design docs, user manuals, and the VitePress site
(built & deployed to GitHub Pages by .github/workflows/docs.yml)
schemas/evalevent/ Versioned machine-readable evaluation event protocol schemas
schemas/skill-observation/ Host-neutral observation schema and conformance fixturesBoundary rules
internal/is private. Never import it from outside this module; never re-export its types throughpkg/without a conscious API-stability review.pkg/skillup/andpkg/transcript/are public, semver-stable. Breaking changes here require a new module major version.- CLI glue belongs in
internal/cli/; business logic belongs in the correspondinginternal/<domain>/package.
Configuration schema
- Schema version:
v1alpha1(declared in each YAML'sschema_version). eval.yaml->internal/config.EvalConfigcases/*.yaml->internal/config.CaseConfig- Path resolution:
cases.filesand fixture-style references are resolved relative to the directory that containsSKILL.md, not the current working directory.
When changing the schema: update schema.go, validator.go, their tests,
defaults.yaml, and any affected example under examples/ or e2e/testdata/
in the same commit.
Commit & PR guidelines
- Conventional Commits are enforced by
.githooks/commit-msg. Subject format:<type>(<scope>): <description>. Allowed types:feat,fix,docs,style,refactor,perf,test,build,ci,chore,revert. Examples:feat(cli): add validate commandfix(config): correct default timeoutdocs: update AGENTS.md
- Keep commits focused; prefer multiple small commits over one sweeping change.
- Do not commit:
- Real API keys, tokens, or credentials (see
internal/credential/README.md). - Local caches (
.cache/,.tools/bin/), build outputs (bin/,dist/), or personal editor configs. These are in.gitignore— keep it that way.
- Real API keys, tokens, or credentials (see
- Before opening a PR:
make fmtmake verifymake test- If you touched anything under
e2e/orinternal/runner/, also runmake e2e. - Update
CHANGELOG.mdif the change is user-visible.
Security considerations
- Credentials resolve in this priority order: CLI flag -> environment variable
->
~/.skill-up/credentials.yaml. Never log raw credential values; redact them via the helpers ininternal/credential/. - External processes (Agent Engines, MCP servers, scripts) run in the selected
runtime (
noneoropensandbox). When adding new shell execution paths, useinternal/shellquote— never concatenate untrusted strings into a shell command. gosecandnoctxare enabled in.golangci.yml; fix findings rather than silencing them.
Release
- Releases are driven by GoReleaser, triggered by pushing
a
v*tag. CI workflow:.github/workflows/release.yml. - Version is injected at build time via
-ldflags "-X main.version=<tag>". The fallbackvar version = "dev"lives incmd/skill-up/main.go. - Do not create tags or invoke
goreleaser releaseautomatically — release cadence is owned by maintainers.
What agents should NOT do
- Do not modify
go.mod/go.sumexcept viago getormake tidy. - Do not add new top-level directories without updating this file,
CONTRIBUTING.md, and theProject Structuresection ofREADME.md. - Do not disable or weaken existing lint rules, tests, or git hooks to make a change pass.
- Do not introduce dependencies on
internal/*from outside the module, or on GPL / network-only packages. - Do not generate large refactors, planning docs, or analysis documents unless the task explicitly asks for them.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

