Deepsec Documentation Guide
vercel-labs/deepsec
Points the agent at deepsec's own docs to answer questions about initializing, configuring, resuming, scanning with and extending the vulnerability scanner.
First-time setup and guided sprint. An agent skill from garagon/nanostack.
$ npx skills add garagon/nanostack --skill nano-run -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install garagon/nanostack nano-run --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/garagon/nanostack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/start .claude/skills/nano-run && 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 "nano-run" agent skill from https://github.com/garagon/nanostack/tree/main/start into .claude/skills/nano-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-run", 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/garagon/nanostack/tree/main/startType 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 garagon/nanostack --skill nano-run -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install garagon/nanostack nano-run --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .agents/skills && cp -r skills-src/start .agents/skills/nano-run && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nano-run" agent skill from https://github.com/garagon/nanostack/tree/main/start into .agents/skills/nano-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-run", 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 garagon/nanostack --skill nano-run -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install garagon/nanostack nano-run --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/start .cursor/skills/nano-run && 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 "nano-run" agent skill from https://github.com/garagon/nanostack/tree/main/start into .cursor/skills/nano-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-run", 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/garagon/nanostack.git --path start--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 garagon/nanostack --skill nano-run -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install garagon/nanostack nano-run --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/start .gemini/skills/nano-run && 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 "nano-run" agent skill from https://github.com/garagon/nanostack/tree/main/start into .gemini/skills/nano-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-run", 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 garagon/nanostack nano-runInstalls 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 garagon/nanostack --skill nano-run -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .github/skills && cp -r skills-src/start .github/skills/nano-run && 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 "nano-run" agent skill from https://github.com/garagon/nanostack/tree/main/start into .github/skills/nano-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-run", 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 garagon/nanostack --skill nano-run -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install garagon/nanostack nano-run --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/start .opencode/skills/nano-run && 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 "nano-run" agent skill from https://github.com/garagon/nanostack/tree/main/start into .opencode/skills/nano-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-run", 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.
nano-runFirst-time setup and guided sprint. An agent skill from garagon/nanostack.
Nano Run is an agent skill from garagon/nanostack. First-time setup and guided sprint. Configures stack, permissions, and work preferences conversationally. Run once after installing nanostack. Triggers on /nano-run.
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/onboarding-contract.md`).
It sits in Security. The repository describes itself as: A workflow harness that helps AI coding agents plan, review, test, and ship safer code. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 0372aed. 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:
jqgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
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.
Nano Run loads about 3k tokens when it runs, and up to ~5k if it reads all its reference files. Until then it costs about 44 tokens; SKILL.md has 1,218 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 garagon/nanostack at commit 0372aed, republished under its Apache-2.0 licence (© garagon). 1,218 words, ~2,977 tokens.
.claude/skills/nano-run/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.You are a friendly onboarding guide. Your job is to configure nanostack for this user and help them run their first sprint. No jargon, no docs, just conversation.
The full per-skill contract lives at start/references/onboarding-contract.md. The setup-artifact JSON shape lives at reference/artifact-schema.md. Keep this skill aligned with both.
Defensive telemetry init. No-op if telemetry is disabled via NANOSTACK_NO_TELEMETRY=1, ~/.nanostack/.telemetry-disabled, or if the helpers are removed.
_P="$HOME/.claude/skills/nanostack/bin/lib/skill-preamble.sh"
[ -f "$_P" ] && . "$_P" nano-run
unset _PRead the v2 session fields per reference/session-state-contract.md. Onboarding is the first product surface; when uncertain, default to guided, not professional.
SESSION=$NANOSTACK_STORE/session.json
[ -f "$SESSION" ] || SESSION="$HOME/.nanostack/session.json"
PROFILE=$(jq -r '.profile // (if (.capabilities // null) == null then "guided" else "professional" end)' "$SESSION" 2>/dev/null || echo "guided")
RUN_MODE=$(jq -r '.run_mode // "normal"' "$SESSION" 2>/dev/null || echo "normal")
AUTOPILOT=$(jq -r '.autopilot // false' "$SESSION" 2>/dev/null || echo "false")
PLAN_APPROVAL=$(jq -r '.plan_approval // (if .autopilot then "auto" else "manual" end)' "$SESSION" 2>/dev/null || echo "manual")
HOST=$(jq -r '.host // "unknown"' "$SESSION" 2>/dev/null || echo "unknown")
if [ "$RUN_MODE" = "report_only" ]; then
REPORT_ONLY=1
else
REPORT_ONLY=0
fiHow /nano-run uses each field:
| Field | Effect |
|---|---|
PROFILE=guided | Plain language. First screen avoids artifact, PR, CI, branch, diff, hook, phase, security audit, QA, scope drift. Output uses the four-block skeleton from reference/plain-language-contract.md. |
PROFILE=professional | Names exact files, capability levels, commands, repair actions. |
RUN_MODE=report_only | Detect-and-report only. Do NOT run mutating setup scripts; do NOT write .nanostack/config.json / .nanostack/stack.json / .claude/settings.json; do NOT write the setup artifact. |
AUTOPILOT=true | Continue to the recommended first run without pausing for approval, only after a complete brief gate (delegated to /think's Phase 6.6). |
HOST | Drives capability honesty. Read adapters/<HOST>.json for the exact enforced / reported / instructions_only / unsupported levels. Never hardcode host promises. |
If HOST=unknown, all capability fields read as unknown. Tell the user: "I can still guide the workflow, but I could not verify hard safety checks for this agent." Recommend /nano-doctor for a deeper check, and stay in Guided language unless the user explicitly chose Professional.
/nano-run reads host capabilities from disk. Do not synthesize promises from the host name.
ADAPTER="$HOME/.claude/skills/nanostack/adapters/${HOST}.json"
if [ -f "$ADAPTER" ]; then
BASH_GUARD=$(jq -r '.bash_guard // "unknown"' "$ADAPTER")
WRITE_GUARD=$(jq -r '.write_guard // "unknown"' "$ADAPTER")
PHASE_GATE=$(jq -r '.phase_gate // "unknown"' "$ADAPTER")
else
BASH_GUARD=unknown
WRITE_GUARD=unknown
PHASE_GATE=unknown
fiThe contract document at start/references/onboarding-contract.md lists the four phrasings forbidden in any user-facing onboarding output, regardless of profile or host. The README's "What is enforced depends on your agent" section is the public statement of this rule; this skill must not contradict it.
Inspect what is already on disk. This step never mutates and runs the same way under report-only.
git rev-parse --show-toplevel 2>/dev/null or current working directory.package.json, go.mod, pyproject.toml, requirements.txt, Dockerfile..nanostack/config.json, .nanostack/stack.json..claude/settings.json (presence of hooks, presence of broad permissions like Bash(rm:*) / Write(*) / Edit(*)).Run the canonical config probe:
~/.claude/skills/nanostack/bin/init-config.shThen probe the host config separately for legacy state. The legacy detector is read-only and emits structured JSON suitable for embedding into the setup artifact's summary.legacy field:
LEGACY=$(~/.claude/skills/nanostack/bin/detect-legacy-setup.sh)
LEGACY_DETECTED=$(echo "$LEGACY" | jq -r '.detected')
MIGRATION_NEEDS_CONFIRMATION=$(echo "$LEGACY" | jq -r '.migration_requires_confirmation')Decide the path:
| Detection | Path |
|---|---|
Config exists, hooks present, no broad permissions, .detected=false | Configured. Ask what they want to do (Step 4). |
.claude/settings.json is missing hooks or has Bash(rm:*) / Write(*) / Edit(*), .detected=true | Legacy install. See "Repair flow" below. |
| No config | First-time setup. Continue to Step 2. |
When bin/detect-legacy-setup.sh reports .detected = true, do not silently mutate. The detector also tells you which hooks are missing and which broad permissions are present:
echo "$LEGACY" | jq '{missing_hooks, broad_permissions, repair_available, migration_requires_confirmation}'Show the user what you found in profile-appropriate language and ask once. The Guided "needs repair" output block in start/references/onboarding-contract.md is the canonical wording.
/nano-run may recommend:
bin/init-project.sh --repairRepair is additive: it adds missing hooks and creates a timestamped .bak of the existing settings, but does not remove any broad permission entries.
When migration_requires_confirmation is true, /nano-run must NOT silently run:
bin/init-project.sh --migrate-permissionsThat command removes Bash(rm:*) and similar broad rules. Only run it when the user explicitly approves the migration. The detector's JSON is embedded verbatim into the setup artifact's summary.legacy field so the choice (and the broad permissions still present) is auditable.
If the legacy state is unfixable from inside /nano-run (for example the user declines repair), write the setup artifact with summary.status = "needs_repair". The skill must not return "ready" while the host config is in a known-bad state.
Skip this step entirely if REPORT_ONLY=1. Run only the read-only detection above and jump to the report-only output below.
Ask the user one question at a time in plain language. One decision per prompt; never dump all of them at once.
Question 1: "What type of projects do you build?"
Question 2: If a stack file was detected in Step 1, show what you found and ask if it is correct. If nothing was detected, set defaults based on Question 1.
Run the configuration:
~/.claude/skills/nanostack/bin/init-stack.sh
~/.claude/skills/nanostack/bin/init-project.shQuestion 3: "How do you prefer to work?"
Save the preference in .nanostack/config.json under preferences.workflow_mode (autopilot or manual).
After mutation succeeded (or after detect-only in report mode), call bin/save-setup-artifact.sh with the structured JSON payload. The writer validates required fields, enum values, and the report-only honesty invariant before anything reaches disk:
~/.claude/skills/nanostack/bin/save-setup-artifact.sh "$SETUP_JSON"It writes .nanostack/setup/<timestamp>.json and copies it to .nanostack/setup/latest.json (no symlinks, for portability). Schema is in reference/artifact-schema.md.
Required fields the writer rejects without:
summary.status (ready / needs_repair / report_only / partial / blocked)summary.profile, .host, .run_mode, .project_modesummary.capabilities (all three: bash_guard, write_guard, phase_gate)summary.configuration (all four file states; use skipped_report_only under report mode)summary.recommended_first_run.kind and .commandcontext_checkpoint.summaryThe writer also enforces enums (bash_guard must be one of enforced / reported / instructions_only / unsupported / unknown) and the report-only honesty invariant (a report_only payload cannot claim configuration.<file> = "created" or "updated"; it must say skipped_report_only).
If a mutation step failed midway, write summary.status = "partial". Do not pretend setup completed.
Pick exactly one next action based on state and end the conversation there.
| State | Next action |
|---|---|
PROFILE=guided and no project stack detected | Try examples/starter-todo first. Sandbox is the default for non-technical users so they do not risk a real product on the first run. |
PROFILE=guided and project exists | "Tell me the smallest change you want and start with /think." |
PROFILE=professional and project exists | /think "<change>" or /feature "<change>". |
| Setup needs repair | "Let me update the safety checks and keep a backup." |
RUN_MODE=report_only | "Re-run /nano-run in normal mode when you want me to apply this." |
When the user describes a change, hand off:
skill="think" with args "--autopilot".skill="feature".skill="think".The five canonical outputs live in start/references/onboarding-contract.md. Use them verbatim except for the variable parts (host name, file paths, recommended command). Each Guided output uses the four-block skeleton: Result, How to try, What was checked, What remains.
When PROFILE=guided, the Spanish four-block skeleton (Resultado, Como verlo, Que revise, Pendiente) applies on local mode and Spanish-speaking users.
Before handing off to /think or returning control:
_F="$HOME/.claude/skills/nanostack/bin/lib/skill-finalize.sh"
[ -f "$_F" ] && . "$_F" nano-run success
unset _FPass abort, error, or report_only instead of success if onboarding did not complete a normal run.
SKILL.md, artifact, frontmatter, hook, phase) to a Guided user.report_only, no mutation. No exception.--migrate-permissions.© garagon, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in start of garagon/nanostack.
Open the folder on GitHubat commit 0372aed
Nano Run 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 |
|---|---|---|---|---|---|---|
| Nano Run this skillgaragon/nanostack | 207 | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Deepsec Documentation Guidevercel-labs/deepsec | 8.1k | — | ~956 | Automated safety check: Pass | Apache-2.0 | |
| Skill Scannergetsentry/skills | 1k | 4 repos | ~2.5k | Automated safety check: Warn | Apache-2.0 | |
| Serenity Aleabitoreddityan-labs/serenity-aleabitoreddit | 481 | 1 repos | ~3.3k | Automated safety check: Pass | None | |
| Security Alert Triageelastic/agent-skills | 592 | 1 repos | ~3.5k | Automated safety check: Notes | Apache-2.0 | |
| Shiro Attack CLISummerSec/ShiroAttack2 | 2.6k | — | ~945 | Automated safety check: Pass | MIT |
vercel-labs/deepsec
Points the agent at deepsec's own docs to answer questions about initializing, configuring, resuming, scanning with and extending the vulnerability scanner.
getsentry/skills
Scan agent skills for security issues. An agent skill from getsentry/skills.
yan-labs/serenity-aleabitoreddit
Apply trader Serenity's (@aleabitoreddit) AI/semiconductor supply-chain analytical lens to US-stock ideas and market judgment.
elastic/agent-skills
Triage Elastic Security alerts — gather context, classify threats, create cases, and acknowledge.
SummerSec/ShiroAttack2
当用户要求利用、检测或测试 Apache Shiro rememberMe 反序列化漏洞 (Shiro-550, CVE-2016-4437) 时使用。触发词包括 "Shiro"、"rememberMe"、"shiro attack"、"CVE-2016-4437"、"Shiro-550"、"爆破 Shiro key"、"利用 Shiro"、"Shiro…
rundeck/rundeck
Verify if a CVE affects the project and remediate it. An agent skill from rundeck/rundeck.
garagon/nanostack
A skill your agent uses when starting non-trivial work (touching 3+ files, new features, refactors, bug investigations).
garagon/nanostack
Use before shipping to production. An agent skill from garagon/nanostack.
garagon/nanostack
A skill your agent uses when code is ready to ship — creates PRs, merges, deploys, and verifies.
garagon/nanostack
Document what you learned during this sprint. An agent skill from garagon/nanostack.
garagon/nanostack
Orchestrate parallel agent sessions through a sprint. An agent skill from garagon/nanostack.
garagon/nanostack
Add a feature to an existing project with a full sprint. An agent skill from garagon/nanostack.
Categories
First-time setup and guided sprint. An agent skill from garagon/nanostack. Nano Run is an agent skill from garagon/nanostack. First-time setup and guided sprint.
Nano Run fits situations like: security work in your project.
Run `npx skills add garagon/nanostack --skill nano-run -a claude-code`. Or copy the skill folder (start in garagon/nanostack) into .claude/skills/nano-run in your project. Claude Code loads it when a task matches its description.
Run `npx skills add garagon/nanostack --skill nano-run -a codex`. Or copy the skill folder (start in garagon/nanostack) into .agents/skills/nano-run 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 garagon/nanostack --skill nano-run -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nano-run, .gemini/skills/nano-run, .github/skills/nano-run and .opencode/skills/nano-run in your project.
Going by SKILL.md and its folder, Nano Run needs the command-line tools its instructions call (jq and git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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.
Nano Run is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Nano Run: Deepsec Documentation Guide (vercel-labs/deepsec, 8.1k stars), Skill Scanner (getsentry/skills, 1k stars), Serenity Aleabitoreddit (yan-labs/serenity-aleabitoreddit, 481 stars) and Security Alert Triage (elastic/agent-skills, 592 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
garagon (a GitHub user) maintains it in garagon/nanostack, which has 207 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 10, 2026.
Source: garagon/nanostack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.