terminal

A guide to using the terminal, where developers type commands to work with files, programs, npm packages, Git, and shell scripts.

In plain words
What is it for?
It helps navigate folders, create and manage files, install npm packages, use Git, and understand shell commands and their risks.
Why use it?
It explains command-line concepts and common commands so users can work in a project without relying only on graphical tools.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/wewpellex21/code-sensei/terminal
Any agent
npx skills add wewpellex21/code-sensei --skill terminal
Clone the repo
git clone --depth 1 https://github.com/wewpellex21/code-sensei

Made for: Claude Code, Codex.

Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 693 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00031 $0.00693
Opus 5 $0.00015 $0.00347
Sonnet 5 $0.00006 $0.00139
Haiku 4.5 $0.00003 $0.00069

Measured 2d ago against content hash 0840f41b7519, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

terminal 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 2d 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.

Origin

This is a copy

100% identical to terminal — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/terminal/SKILL.md · 54 lines

How it starts

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

Terminal & Command Line — CodeSensei Teaching Module

The Terminal

  • Analogy: The terminal is like texting your computer. Instead of clicking buttons, you type instructions and it responds. It's not scarier than that.
  • Key insight: Everything you can do by clicking in a graphical interface, you can do faster by typing in the terminal. Developers prefer typing because it's faster and scriptable.

Essential Commands

Teach these as they appear in the user's session:

Navigation

  • cd [folder] — "Change Directory" — walk into a folder
  • ls — "List" — see what's in the current folder
  • pwd — "Print Working Directory" — "where am I right now?"
  • Analogy: You're in a building. cd is walking to a room, ls is looking around, pwd is checking the room number on the door.

File Operations

  • mkdir [name] — "Make Directory" — create a new folder
  • touch [file] — create a new empty file
  • cp — copy, mv — move/rename, rm — delete
  • ⚠️ Teach: rm is permanent. There's no trash can.

npm (Node Package Manager)

  • Analogy: An app store for code. Other developers built tools and shared them. npm install downloads those tools into your project.
  • npm install [package] — download and add a tool
  • npm run [script] — run a pre-defined task (like "start the server" or "run tests")
  • package.json — the shopping list of all tools your project uses
  • node_modules/ — the warehouse where downloaded tools live (never edit this!)

git (Version Control)

  • Analogy: A time machine for your code. Every "commit" is a save point you can go back to.
  • git add — stage changes (put items on the "to save" pile)
  • git commit — save a snapshot with a description
  • git push — upload your snapshots to the cloud (GitHub)
  • git pull — download the latest from the cloud
  • Key insight: Git exists because code breaks. It lets you undo mistakes by going back to when things worked.

Environment Variables

  • Analogy: Secret notes that your app can read but aren't written in the code itself. Like a password you whisper instead of writing on a whiteboard.
  • .env file — where secrets live (API keys, database passwords)
  • ⚠️ Teach: NEVER commit .env files to git. That's like posting your passwords publicly.

Read the full file on GitHub · 54 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. 2d ago First seen · 54 lines · 31 tokens per session scan A 0840f41b7519

Subscribe to this mod's changes

terminal is a skill published in the GitHub repository wewpellex21/code-sensei (3 stars, last pushed 4d ago), licensed MIT. It adds 31 tokens to every session and 693 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to terminal, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

agent-squad-python

Use when building or modifying a Python app that uses the agent-squad Python package — async multi-agent orchestration for Python 3.11+: orchestrator, agents (BedrockLLMAgent, AnthropicAgent, OpenAIAgent, SupervisorAgent, GroundedAgent, ChainAgent, and more), classifier routing (Bedrock, Anthropic, OpenAI), storage…

2FastLabs/agent-squad · 113 tokens

agent-squad-swift

Use when building or modifying a Swift app that uses the AgentSquad Swift framework — on-device multi-agent orchestration for iOS 16+ / macOS 14+: orchestrator, agents (Agent, GroundedAgent), classifier routing, LLM clients (OpenAI-compatible), tools (native + MCP), tool UIs/widgets, on-device storage, tracing, and…

2FastLabs/agent-squad · 91 tokens

agent-squad-typescript

Use when building or modifying a Node.js / TypeScript app that uses the agent-squad npm package — multi-agent orchestration: orchestrator, agents (all built-in types + GroundedAgent), classifier routing (Bedrock / Anthropic / OpenAI), storage (in-memory / DynamoDB / SQL), retrievers (Amazon KB / Dakera), and tools…

2FastLabs/agent-squad · 87 tokens

verify-pr

Comprehensive PR readiness check before merge. Run quality checks, tests, CI, documentation, AWS resource cleanup, and code review.

go-to-k/cdkd · 29 tokens

run-integ

Run integration tests (deploy + destroy) against real AWS. Use when you need to verify cdkd works end-to-end with actual AWS resources.

go-to-k/cdkd · 34 tokens

review-pr

Recommend the right reviewer count for a PR based on size + bias factors. Outputs a concrete plan (inline spot-check / 1 reviewer / 3-axis parallel) plus ready-to-paste Agent dispatch prompts when reviewers are warranted.

go-to-k/cdkd · 49 tokens