research-skill-creator
Create, improve and test agent skills for research workflows (paper writing, lab protocols, analysis pipelines, domain databases) that meet the Agent Skills specification and this repository's quality and security bar. Use when turning a repeated research task into a reusable skill, contributing a new skill to Research Agent Skills, rewriting an existing skill, writing trigger-accurate descriptions, or adding evals. Works alongside Anthropic's official skill-creator.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 1.6k
- Forks
- 474
01 前言 Front Matter
- name
- research-skill-creator
- license
- MIT
- metadata
- { "tags": "skill authoring, agent skills, SKILL.md, evals, contributing", "author": "Kalaris Labs (Sayan Chowdhury)", "version": "1.0", "category": "research-automation", "maintainer": "Kalaris Labs" }
- description
- Create, improve and test agent skills for research workflows (paper writing, lab protocols, analysis pipelines, domain databases) that meet the Agent Skills specification and this repository's quality and security bar. Use when turning a repeated research task into a reusable skill, contributing a new skill to Research Agent Skills, rewriting an existing skill, writing trigger-accurate descriptions, or adding evals. Works alongside Anthropic's official skill-creator.
- compatibility
- Python 3.9+ for the scaffold script. Repository validators need uv. Anthropic's skill-creator (optional) provides the eval loop.
02 资源文件 1
- 脚本scripts/new_skill.py6.1 KB
03 SKILL.md 正文
Research Skill Creator
A good research skill packages procedural knowledge an expert would otherwise have to explain every time: the order of steps, the checks that catch mistakes, the venue- or instrument-specific rules. It is not a textbook chapter and not a wrapper around one API call.
0. Install the official tooling (once)
Anthropic's skill-creator supplies the eval loop, description optimizer and
packager. In Claude Code:
/plugin marketplace add anthropics/skills
/plugin install example-skills@anthropic-agent-skills
Use it to run evals (run_eval.py, run_loop.py) and to tune the description
(improve_description.py). This skill adds the research-specific conventions.
1. Decide whether it should be a skill
Create a skill when all hold:
- The task recurs across projects or people (not a one-off script).
- Doing it well requires non-obvious steps, checks or domain rules.
- An agent would plausibly get it wrong without guidance (test this: ask without the skill first).
Otherwise write a note or a script instead. Check catalog/skills.json for overlap and
extend an existing skill rather than creating a near-duplicate.
2. Scaffold
python skills/research-skill-creator/scripts/new_skill.py rebuttal-letter \
--category research-writing \
--description "Draft point-by-point responses to peer reviewers. Use when ..." \
--scripts --references
This writes skills/<name>/SKILL.md with spec-compliant frontmatter and evals/<name>/evals.json.
3. Write the description (it decides whether the skill is ever used)
- Say what it does and when to use it, with the words users actually type: "journal cover letter", "response to reviewers", "PRISMA flow diagram".
- Name concrete artifacts, tools and venues ("BibTeX", "Nature", "pgvector").
- At most 1024 characters, third person, no angle brackets, no marketing adjectives.
- Add "Use when ..." clauses for the 3-6 most common triggers, plus distinguishing cues vs. sibling skills (e.g. "for systems venues use systems-paper-writing").
4. Write the body
| Principle | Practice |
|---|---|
| Procedure over prose | Numbered workflows, decision tables, checklists |
| Progressive disclosure | SKILL.md under 500 lines; long material in references/*.md, linked with one-line "read when" hints |
| Deterministic work in code | Parsing, validation and conversion go in scripts/, which the agent runs rather than re-implements |
| Verify-first for facts that change | Venue limits, API versions, guidelines: tell the agent to fetch the official source and cite it |
| Honesty rules | Explicit "never fabricate data, citations or results; say when unverifiable" |
| Handoffs | End with related skills and when to switch |
5. Scripts: the repository contract
- Python 3.9+ standard library unless a dependency is essential. Declare it in
compatibility. argparseCLI with--help, a docstring with usage, exit codes0ok,1findings,2bad input.- UTF-8 console setup (the scaffold includes it) so Windows terminals don't crash.
- Network calls only to documented APIs. Every new domain must be added to
security/allowed-domains.txtwith a reviewer's approval. Set a descriptiveUser-Agent. - Never read credentials beyond the env var the user configures for that service. Never
exfiltrate environment data. No
eval/execof fetched content. Never pipe downloaded scripts into a shell.
6. Test
uv run tools/validate.py skills/<name>: spec + repo policy.uv run tools/lint_injection.py skills/<name>: prompt-injection and payload lint.- Fill
evals/<name>/evals.jsonwith 3-10 realistic prompts, including near-misses that should not trigger, and run them with skill-creator's eval loop. Compare with/without the skill. - Run each script on real sample inputs, including malformed ones, on Windows and Unix if possible.
uv run tools/build_catalog.pyto regenerate the marketplace, catalog and README tables.
7. Rewriting an adapted skill
Skills listed in third_party/upstream-manifest.json with rewrite_status: imported
are adaptations. A rewrite must be written from scratch (new structure, new
wording, re-verified facts), not paraphrased line by line. When it merges, set
rewrite_status: original for that skill in the manifest. The notices generator then
drops it from THIRD_PARTY_NOTICES.md and the importer stops overwriting it.
Related skills
research-agent-skills repository docs (CONTRIBUTING.md), Anthropic skill-creator,
autoskill (detects repeated workflows worth turning into skills).
04 同仓库更多 Skills
migrate-to-e2e
Moves an existing Playwright, Cypress, Selenium, Appium, Detox, Maestro, or TesterArmy suite to e2e one slice at a time, with the old suite running beside the new one until each ported test is proven. Keeps a MIGRATION.md progress file so any later session resumes where the last stopped. Optionally plants a defect to show both suites catch it. Use for /migrate-to-e2e, "migrate our tests to e2e", "port these Maestro flows", "move our TesterArmy tests", or when a project has an e2e config and an older suite still running.
e2e
Writes, runs, and debugs end-to-end tests for web and mobile apps with e2e, the agentic test runner, which mixes agent.act goals with exact locator assertions on a Playwright browser or an iOS or Android device. Also drives a project's running app live over the e2e MCP server to look at a screen, check a UI change, take a screenshot or record a video, and try a locator; and runs bug bashes, parallel e2e explore runs with each bug proven by a repro test. Use when a project depends on e2e or has an e2e.config.ts, when asked for end-to-end, browser, mobile, or agentic UI tests, to check a change in the running app, to QA or bug bash an app or branch, or when an e2e run fails.
create-verification-skill
Generate a project-local verify-<app> skill on top of e2e, so any coding agent can launch the app, check it is worth driving, exercise a feature the way a user does, keep evidence, and bug bash it. Writes the skill, a feature map with one explore charter per feature, and proves it once. Use for /create-verification-skill, "make a verification skill for this repo", or when a project has no scripted way to prove UI behavior.
deja-search
deja-vu memory — search the user's past AI coding sessions with the deja CLI. Holds what they already settled and never wrote into the repo (naming rules, banned or already-tried tools, required checks before merge, preferred values, who owns what). Use before your first edit in a task, before you call a change done or ready to merge, before you recommend a tool, library, design or reviewer, before re-debugging an error that may already be solved, when they say 'didn't we fix this before', 'what did we decide about X' or 'I already have that', and before telling them something on this machine does not exist.
deja-reflect
End-of-session reflection and memory curation with deja-vu. Review what was decided, what commands broke and what repaired them, and record durable project rules or decisions with deja remember so the next session starts with them.
revid
Make, edit, export and post AI videos with Revid (revid.ai) through the Revid MCP server. Use whenever the user wants a short-form or long-form video made (from an idea, a script, a URL, an article, a PDF, a tweet, a product page, their own clips, or a song), wants to find what is going viral on TikTok, YouTube, Instagram or X before making something, wants to edit or re-export an existing Revid project, generate a standalone AI image or clip, make a series episode, or publish and schedule a finished video to connected social accounts. Covers setup (hosted MCP with OAuth, or an API key), the 36 tools, credits, polling and the rules for publishing. Routes to the more specific revid-* skills when one fits.