Scaffolding
dotnet/efcore
Implementation details for EF Core scaffolding (reverse engineering).
Scaffold a new Bactopia module from a bioconda/conda-forge package.
$ npx skills add bactopia/bactopia --skill add-module -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install bactopia/bactopia add-module --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/bactopia/bactopia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-module .claude/skills/add-module && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-module" agent skill from https://github.com/bactopia/bactopia/tree/master/.agents/skills/add-module into .claude/skills/add-module/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-module", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/bactopia/bactopia/tree/master/.agents/skills/add-moduleType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add bactopia/bactopia --skill add-module -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install bactopia/bactopia add-module --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bactopia/bactopia.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/add-module .agents/skills/add-module && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-module" agent skill from https://github.com/bactopia/bactopia/tree/master/.agents/skills/add-module into .agents/skills/add-module/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-module", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bactopia/bactopia --skill add-module -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install bactopia/bactopia add-module --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bactopia/bactopia.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/add-module .cursor/skills/add-module && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-module" agent skill from https://github.com/bactopia/bactopia/tree/master/.agents/skills/add-module into .cursor/skills/add-module/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-module", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/bactopia/bactopia.git --path .agents/skills/add-module--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add bactopia/bactopia --skill add-module -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install bactopia/bactopia add-module --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bactopia/bactopia.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/add-module .gemini/skills/add-module && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-module" agent skill from https://github.com/bactopia/bactopia/tree/master/.agents/skills/add-module into .gemini/skills/add-module/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-module", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install bactopia/bactopia add-moduleInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add bactopia/bactopia --skill add-module -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/bactopia/bactopia.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/add-module .github/skills/add-module && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-module" agent skill from https://github.com/bactopia/bactopia/tree/master/.agents/skills/add-module into .github/skills/add-module/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-module", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bactopia/bactopia --skill add-module -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install bactopia/bactopia add-module --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bactopia/bactopia.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/add-module .opencode/skills/add-module && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-module" agent skill from https://github.com/bactopia/bactopia/tree/master/.agents/skills/add-module into .opencode/skills/add-module/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-module", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-moduleScaffold a new Bactopia module from a bioconda/conda-forge package.
Add Module is an agent skill from bactopia/bactopia. Scaffold a new Bactopia module from a bioconda/conda-forge package. Creates main.nf, module.config, schema.json, and test files following project standards. Use when asked to add a new module, create a new module, scaffold module files, or add a new tool's module.
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: A flexible pipeline for complete analysis of bacterial genomes. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 29fb741. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Module loads about 3.1k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 1,251 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from bactopia/bactopia at commit 29fb741, republished under its MIT licence (© bactopia). 1,251 words, ~3,134 tokens.
.claude/skills/add-module/SKILL.md (or your agent's skills folder).Scaffold a complete Bactopia module for a bioconda/conda-forge package, creating all required files with GroovyDoc documentation and nf-test tests.
Before using this skill, read:
.agents/docs/standards/05-module-documentation.md -- Module standards including module.config, schema.json, and test templates.agents/docs/project/04-testing-framework.md -- Testing framework detailsThis skill is interactive -- ask the user early and often, especially before creating files.
AskUserQuestion popups (up to 4 questions per batch).
Mark the recommended option with "(Recommended)" at the end of its label and place it first.Follow these phases in order. When unsure about ANYTHING, ask the user rather than guess.
Goal: Confirm the bioconda package exists and retrieve version/container information.
Ask the user for the bioconda package name (e.g., mlst, bakta, ssuissero).
Ask: Is this a standalone module or part of a multi-process set?
modules/{tool}/modules/{tool}/{process}/ (e.g., modules/bakta/run/)Run the lookup command:
bash .agents/skills/add-bactopia-tool/scripts/run-bactopia-scaffold.sh lookup {package_name} --bactopia-path . --prettyThe output includes:
package, channel, version, build -- package identitysummary, home -- tool description and documentation URLcontainer_refs -- toolName, docker, image stringsexisting_components.module -- whether the module already existsPresent findings to the user and ask them to confirm before proceeding. If the module already exists, warn the user.
Goal: Gather all design decisions using interactive prompts so files can be generated coherently.
Important: Use the AskUserQuestion tool for structured choices throughout this phase.
Present up to 4 questions per batch. Mark the recommended option (based on WebFetch findings)
with "(Recommended)" at the end of its label and place it first in the options list.
Fetch the tool's documentation using WebFetch on the home URL from Phase 1.
Batch 1: Core design choices (AskUserQuestion, up to 4 questions)
Based on WebFetch findings, ask these structured questions:
Question 1 -- Input type:
| Input Type | Record fields |
|---|---|
| Assembly | record(meta: Record, fna: Path) |
| Reads | record(meta: Record, r1: Path?, r2: Path?, se: Path?, lr: Path?) |
| Assembly + reads | Assembly record + reads on separate lines |
| Alignment | record(meta: Record, aln: Path) |
| Download / no input | No record input |
Options (pick top 3 most relevant, "Other" is auto-added for the rest):
Question 2 -- Database requirement:
Question 3 -- Resource label:
Question 4 -- Compressed input:
Run test-data discovery based on the input type selected in Batch 1:
bash .agents/skills/add-bactopia-tool/scripts/run-bactopia-scaffold.sh test-data --input-type {input_type} --bactopia-path . --prettyThis returns species/accession combinations already used by similar modules, with
pre-computed test_data_path, test_uncompressed_path, test_species, and
test_sample_id values. Use the returned paths directly in the scaffold config
(Phase 3) -- do NOT construct paths manually.
Batch 2: Outputs, parameters, and test data (AskUserQuestion, up to 3 questions)
Question 1 -- Output files:
Present what WebFetch found. Ask the user to confirm file extensions, descriptions,
and whether each is single (file()) or multiple (files()).
Question 2 -- User parameters: Only flags representing user-meaningful analysis choices (identity thresholds, scheme selection, algorithm toggles). Exclude infrastructure params (see below).
Question 3 -- Test data species: Present top 3-4 species from the test-data discovery results. Recommend species that exercise the tool's functionality. Include the accession in each option's description.
Present auto-detected details for confirmation.
After the structured choices, present these findings from WebFetch in a summary and ask the user to confirm or request changes:
Infrastructure vs. user parameters (do NOT expose these):
| Tool flag | Wired to | Where |
|---|---|---|
--prefix, --label, --sample-name, etc. | prefix variable (task.ext.prefix ?: "${_meta.name}") | Shell block |
--threads, --cpus, -t, -p, etc. | ${task.cpus} | Shell block or ext.args in module.config |
--output, --outdir, -o, etc. | Usually . or ${prefix} | Shell block |
These are written directly in the module's shell block (e.g., --prefix ${prefix},
--threads ${task.cpus}). The prefix variable is set in every module's script block
as prefix = task.ext.prefix ?: "${_meta.name}" and carries the sample name.
Only expose flags that represent user-meaningful analysis choices.
Every user parameter MUST be prefixed with the tool name: {tool}_{param}.
Parameter defaults:
"", never null."parameters" array if the user confirms
it should be exposed.Final confirmation (AskUserQuestion, 1 question)
After presenting the summary, ask:
Goal: Generate the 6 module files using bactopia-scaffold.
Construct the JSON config from the design decisions. Write it to /tmp/scaffold-config.json:
{
"tool": "{tool_name}",
"display_name": "{DisplayName}",
"description": "{One-sentence description}",
"process_name": "{TOOL_NAME}",
"package": "{package_name}",
"version": "{version}",
"build": "{build}",
"home_url": "{github_url}",
"input_type": "assembly",
"has_database": false,
"handles_gz": false,
"layout": "flat",
"resource_label": "process_low",
"version_command": "{version_command}",
"citation_key": "{citation_key}",
"keywords": ["{keyword1}", "{keyword2}"],
"aggregation": {"strategy": "none"},
"outputs": [
{"name": "{field}", "extension": "{ext}", "description": "{desc}"}
],
"parameters": [
{"name": "{tool}_{param}", "type": "{type}", "default": "{default}", "description": "{desc}", "flag": "{--flag}"}
],
"container_refs": {
"toolName": "{from lookup}",
"docker": "{from lookup}",
"image": "{from lookup}"
},
"test_species": "{species}",
"test_sample_id": "{sample_id}",
"test_data_path": "{compressed_path}",
"test_uncompressed_path": "{uncompressed_path}"
}Run the scaffold command:
bash .agents/skills/add-bactopia-tool/scripts/run-bactopia-scaffold.sh module --config /tmp/scaffold-config.json --bactopia-path . --prettyThe command creates 6 files:
modules/{tool}/main.nfmodules/{tool}/module.configmodules/{tool}/schema.jsonmodules/{tool}/tests/main.nf.testmodules/{tool}/tests/nextflow.configmodules/{tool}/tests/nf-test.configGoal: Review generated files and make tool-specific adjustments.
Module main.nf -- the shell script block is a placeholder. Customize:
# Cleanup comment line -- even if empty, it marks where
cleanup steps go and keeps the shell block structure consistent across all modulesModule module.config -- review the ext.args construction:
--threads ${task.cpus})schema.json -- verify parameter types and defaults match module.config
Test files -- verify test data paths and snapshot fields
Run the linter to catch structural issues before proceeding:
bash .agents/skills/add-bactopia-tool/scripts/run-bactopia-lint.sh {tool} --bactopia-path .This runs bactopia-lint scoped to the new module. Fix any FAILs before moving on.
Common issues:
type=string but default=null)data/citations.ymlUpdate data/citations.yml -- add the tool citation entry in alphabetical order:
{tool}:
name: "{ToolName}"
link: "{github_url}"
description: "{One-sentence description}"
cite: "{Full citation text}"List all created files with full paths.
Remind the user to run these follow-up steps in order:
/run-tests {tool} module --generate -- generate snapshots and verify the module test passes (new modules have no existing snapshots)/add-subworkflow next/add-bactopia-tool instead (it handles all tiers)The --generate flag is required because newly scaffolded modules have no
snapshot files yet. Without it, nf-test will fail immediately on missing
snapshots.
Multi-process modules: For nested layouts (modules/{tool}/run/, modules/{tool}/summary/), the scaffold command currently generates flat layout. Manually move files to the nested structure after generation.
No build string: Container URLs will contain TODO_BUILD placeholders.
Multi-package tools (mulled containers): Container URLs cannot be auto-constructed. Flag for manual review.
Test data paths are discovered dynamically from existing module tests using:
bash .agents/skills/add-bactopia-tool/scripts/run-bactopia-scaffold.sh test-data --input-type {type} --bactopia-path . --prettyThis scans modules/*/tests/main.nf.test for paths matching the input type and returns
pre-computed template variables. Always use the discovered paths -- never construct test
data paths manually. The output includes test_data_path (compressed, for subworkflow
tests), test_uncompressed_path (for module tests), test_species, and test_sample_id.
Supported input types: assembly, reads, assembly_reads, proteins, gff, genbank.
© bactopia, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/add-module of bactopia/bactopia.
Open the folder on GitHubat commit 29fb741
Add Module next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Module this skillbactopia/bactopia | 522 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Scaffoldingdotnet/efcore | 15k | — | ~165 | Automated safety check: Pass | MIT | |
| Module Scaffolderaiskillstore/marketplace | 430 | — | ~846 | Automated safety check: Notes | None | |
| Scaffold Elementremotion-dev/remotion | 62k | — | ~202 | Automated safety check: Pass | Custom licence | |
| Es Modulesthedaviddias/Front-End-Checklist | 74k | — | ~482 | Automated safety check: Pass | MIT | |
| Power Apps Code App Scaffoldgithub/awesome-copilot | 40k | 1 repos | ~1.8k | Automated safety check: Pass | MIT |
dotnet/efcore
Implementation details for EF Core scaffolding (reverse engineering).
aiskillstore/marketplace
Scaffolds new feature modules in DevPrep AI following the 6-folder architecture with proper TypeScript interfaces, path aliases, and quality standards.
remotion-dev/remotion
Scaffold a new Remotion Element for development in the docs Remotion Studio.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing scripts, client components, bundles, or runtime behavior related to Use ES modules (import/export).
github/awesome-copilot
Scaffold a complete Power Apps Code App project with PAC CLI setup, SDK integration, and connector configuration
alirezarezvani/claude-skills
Generates complete, production-ready SaaS project boilerplate including authentication, database schemas, billing integration, API routes, and a working dashboard using Next.js 14+ App Router…
bactopia/bactopia
Scaffold a complete Bactopia Tool across all three tiers -- module, subworkflow, and workflow entry point under workflows/bactopia-tools/.
bactopia/bactopia
Propagate the Bactopia and nf-bactopia versions declared in versions.yml into the hand-maintained files that carry a literal version (conf/testbase.config, CITATION.cff, bin/bactopia…
bactopia/bactopia
Regenerate nextflow.config and nextflowschema.json for Bactopia workflows by running bactopia-merge-schemas.
bactopia/bactopia
Show a live snapshot of the Bactopia project state — component counts, GroovyDoc coverage, nf-test coverage, and structural issues.
bactopia/bactopia
Audit whether Bactopia is ready for a version release and produce a GO / NO-GO recommendation report.
bactopia/bactopia
Review citation integrity across data/citations.yml and @citation tags using bactopia-citations --validate.
Scaffold a new Bactopia module from a bioconda/conda-forge package. Add Module is an agent skill from bactopia/bactopia. Scaffold a new Bactopia module from a bioconda/conda-forge package.
Add Module fits situations like: asked to add a new module; create a new module; scaffold module files; add a new tools module.
Run `npx skills add bactopia/bactopia --skill add-module -a claude-code`. Or copy the skill folder (.agents/skills/add-module in bactopia/bactopia) into .claude/skills/add-module in your project. Claude Code loads it when a task matches its description.
Run `npx skills add bactopia/bactopia --skill add-module -a codex`. Or copy the skill folder (.agents/skills/add-module in bactopia/bactopia) into .agents/skills/add-module in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bactopia/bactopia --skill add-module -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-module, .gemini/skills/add-module, .github/skills/add-module and .opencode/skills/add-module in your project.
Going by SKILL.md and its folder, Add Module needs the command-line tools its instructions call (bash). Our summary lists: Docker.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Add Module is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Module: Scaffolding (dotnet/efcore, 15k stars), Module Scaffolder (aiskillstore/marketplace, 430 stars), Scaffold Element (remotion-dev/remotion, 62k stars) and Es Modules (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
bactopia (a GitHub organization) maintains it in bactopia/bactopia, which has 522 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on August 5, 2026.
Source: bactopia/bactopia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.