shell-guide

shell-guide is a skill for Claude Code, Codex from NPC-Worldwide/npcsh. It costs 0 tokens per session (896 once invoked), scanned A, original, MIT.

A reference guide to npcsh, an interactive shell for running AI agents, commands, and team tools. It explains its operating modes, commands, team synchronisation, and startup behavior.

In plain words
What is it for?
Use it to learn how to start and control npcsh, switch between agent, chat, and command modes, run shell commands, and access its team tools.
Why use it?
It removes the need to infer how the shell treats a command or which slash command changes its mode or opens a tool.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to learn how to start and control npcsh, switch between agent, chat, and command modes, run shell commands, and access its team tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/npc-worldwide/npcsh/shell-guide
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NPC-Worldwide/npcsh --skill shell-guide
Clone the repo
git clone --depth 1 https://github.com/NPC-Worldwide/npcsh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shell-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/npc-worldwide/npcsh/shell-guide/github.svg)](https://agentmods.dev/skills/npc-worldwide/npcsh/shell-guide)
Your own site
<a href="https://agentmods.dev/skills/npc-worldwide/npcsh/shell-guide"><img src="https://agentmods.dev/badge/skills/npc-worldwide/npcsh/shell-guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shell-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/npc-worldwide/npcsh/shell-guide"><img src="https://agentmods.dev/badge/skills/npc-worldwide/npcsh/shell-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 896 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00896
Opus 5.5 $0.00000 $0.00358
Sonnet 5.5 $0.00000 $0.00179
Haiku 4.5 $0.00000 $0.00090

Measured 14d ago against content hash 07e857d66334, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shell-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/shell-guide/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

shell-guide

Reference guide for the npcsh shell: core commands, modes, dispatch, team sync, and startup.

What-Is-Npcsh

npcsh is the main NPC OS shell: a Rust REPL built on npcrs that connects to an npcpy.serve backend. It loads a team, runs an interactive prompt, dispatches commands, and manages conversation history.

Modes

  • /agent: full agent mode — tools, bash, LLM. Plain non-command text goes to the LLM; recognized bash commands run locally.
  • /chat: LLM-only, no tools.
  • /cmd: bash first, LLM fallback if the input is not a runnable command. Switch modes with the slash commands or bare agent, chat, cmd aliases.

Core-Commands

Core commands always start with /:

  • Modes: /agent, /chat, /cmd
  • Terminal UIs: /ctx, /git, /jinxes, /kg, /loop, /loops, /memories, /model, /ps, /stats, /team
  • System / Config: /clear, /config, /flush, /history, /reattach
  • System Commands: /init, /reload, /sync, /update, /verbose
  • Info: /exit, /help, /quit, /tutorial Run /help in the shell to see the live list.

Jinx-Invocation

Jinxes are invoked by name without a leading slash: compress, file_search pattern=*.py. Use /jinxes to browse the loaded catalog. Tab completion works for @npcs, /commands, jinx names, and file paths.

Npc-Addressing

@npc switches the active process to that NPC across registered teams. @npc command delegates a single command to the NPC without changing the active process.

Team-Sync

/sync downloads the latest release tarball and copies default team files into ~/.npcsh/npc_team. It preserves the usr/ directory and any user-defined keys in npcsh.ctx. On startup a hint is shown if the recorded team_version does not match npcsh.

Init-And-Rc

/init --force creates ~/.npcsh/, ~/.npcsh/bin/, and ~/.npcsh/npc_team/. ~/.npcshrc is sourced on startup; common vars: NPCSH_CHAT_MODEL, NPCSH_CHAT_PROVIDER, NPCSH_DEFAULT_MODE, NPCSH_MEMORY.

Read the full file on GitHub · 91 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago First seen · 91 lines · 0 tokens per session scan A 07e857d66334

Subscribe to this mod's changes

shell-guide is a skill published in the GitHub repository NPC-Worldwide/npcsh (511 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 896 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.

Related

shell-guide compared with skills from other repositories

shell-guide next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shell-guideNPC-Worldwide/npcshSkill5114d agoMITA0Claude Code, Codex
ralplanYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA21Claude Code
rememberYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA20Claude Code
test-warp-uiwarpdotdev/warpSkill66ktodayAGPL-3.0A55Claude Code
x-scorecardx-cmd/x-cmdSkill4.8k7d agoApache-2.0A57Claude Code, Codex
handoverme2resh/apexyardSkill555yesterdayMITA25Claude Code
moai-ref-ui-polishmodu-ai/moai-adkSkill1.3ktodayApache-2.0A98Claude Code