workflow-skill-creator
Skill4 starsChanged 5 months agoMITView on GitHub
Use when the user says 'make this a skill', 'package this workflow', or 'save this as a reusable skill'. Converts a completed analysis workflow into a reusable Rhine Life Lab skill with SKILL.md, wrapper scripts, and tests.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- 1stANUNNAKI/majlistheir own version, first seen Nov 8, 2026
- Arcanea-Labs/Starlight-Intelligence-Systemtheir own version, first seen Nov 8, 2026
- jmche/skills-hubtheir own version, first seen Oct 20, 2026
- Osmosy/vector-genetheir own version, first seen Oct 13, 2026
- frankxai/Starlight-Intelligence-Systemtheir own version, first seen Sep 6, 2026
- google-deepmind/science-skillstheir own version, first seen Jul 1, 2026
Used with
Projects with it also use skill-creator.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillskill-creator
Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.
Also in 3 projects that use this
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- google-deepmind/science-skills★ 3.4ksame name
- Arcanea-Labs/Starlight-Intelligence-System★ 10same name
- frankxai/Starlight-Intelligence-System★ 10same name
- kingchen95272025/agent_skills★ 7same name
- 1stANUNNAKI/majlis★ 2same name
- uppifyagency/boilerplate-saas-2026★ 1same name
- jmche/skills-hub★ 0same name
- Osmosy/vector-gene★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 10 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Create a new skill from scratch following best practices
- Distinctive: line 16
Run an existing skill → use the specific skill directly
- Distinctive: line 26
Before writing any code, answer these questions:
- Distinctive: line 38
Create the directory structure:
- Distinctive: line 68
Use bold skill names in parentheses:
- Very specific: line 76
Reuse scrnatools: Import from ~/.agents/skills/_shared/scrnatools/ for I/O, QC, stats, output
- Very specific: line 77
Wrapper script pattern: Use argparse with subcommands, --input/--output required
- Very specific: line 78
File output: All results go to JSON file via SkillOutput, stdout for status only
- Distinctive: line 79
Error handling: Use try/except with fallback for every optional dependency
- Very specific: line 80
Sparse-first: Always check sparse.issparse(X) and prefer sparse operations
- Very specific: line 81
NaN handling: Call clean_nan() before any computation
- Distinctive: line 115
Test with real data (at least one h5ad file)
- Distinctive: line 116
Verify JSON output is valid and complete
- Distinctive: line 117
Check all cross-references point to existing skills
- Distinctive: line 118
Ensure error messages are clear and actionable
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Workflow Skill Creator
When to Use
Use when you need to:
- Convert a completed analysis workflow into a reusable skill
- Package a successful analysis session for future reuse
- Create a new skill from scratch following best practices
Do NOT use when you need to:
- Run an existing skill → use the specific skill directly
- Fix a broken skill → edit the skill files directly
- Understand skill architecture → read the existing skills as examples
Overview
This meta-skill guides the creation of new analysis skills following the Rhine Life Lab skill format. It enforces a structured 4-phase process to ensure high-quality, reusable skills.
Phase 1: Understand the Workflow (MANDATORY)
Before writing any code, answer these questions:
- What is the input? (h5ad format? what preprocessing state?)
- What is the output? (h5ad? CSV? plots? JSON results?)
- What are the key steps? (list each analysis step)
- What dependencies are needed? (scanpy? squidpy? scipy?)
- What can go wrong? (edge cases, missing data, convergence failures)
- What other skills does this depend on? (prerequisite skills)
- What skills does this feed into? (downstream skills)
Phase 2: Skill Design
Create the directory structure:
~/.agents/skills/<skill-name>/
SKILL.md # Skill definition
scripts/
<script>.py # CLI wrapper scriptSKILL.md Template
---
name: <kebab-case-name>
description: "<trigger phrase starting with 'Use when'>"
---Required sections (in order):
# Title## Prerequisites## When to Use(with "Do NOT use" subsection and cross-references)## Core Rules## Workflow(with Step N subsections)## Common Mistakes## Troubleshooting(table format)## Output(JSON schema)
Cross-Reference Format
Use bold skill names in parentheses:
→ (use **scrna-qc-preprocess**)for prerequisites→ (use **scrna-clustering-umap**)for downstream skills
Phase 3: Implementation
Rules
- Reuse scrnatools: Import from
~/.agents/skills/_shared/scrnatools/for I/O, QC, stats, output - Wrapper script pattern: Use argparse with subcommands, --input/--output required
- File output: All results go to JSON file via
SkillOutput, stdout for status only - Error handling: Use try/except with fallback for every optional dependency
- Sparse-first: Always check
sparse.issparse(X)and prefer sparse operations - NaN handling: Call
clean_nan()before any computation
Wrapper Script Template
#!/usr/bin/env python3
"""<Skill description>."""
import argparse, sys, os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../../_shared"))
from scrnatools.io import load_h5ad, save_h5ad
from scrnatools.output import SkillOutput
def run(input_path, output_path, **kwargs):
output = SkillOutput("<skill-name>", output_path)
adata = load_h5ad(input_path)
# ... analysis steps ...
output.finalize(status="success")
def main():
parser = argparse.ArgumentParser()
sub = parser.add_subparsers(dest="command")
p = sub.add_parser("run")
p.add_argument("--input", required=True)
p.add_argument("--output", required=True)
args = parser.parse_args()
if args.command == "run":
run(args.input, args.output)
if __name__ == "__main__":
main()Phase 4: Validation
- Test with real data (at least one h5ad file)
- Verify JSON output is valid and complete
- Check all cross-references point to existing skills
- Ensure error messages are clear and actionable
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.

