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.
npx agentmods add skills/wewpellex21/code-sensei/javascriptnpx skills add wewpellex21/code-sensei --skill javascriptgit clone --depth 1 https://github.com/wewpellex21/code-senseiWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00038 | $0.00670 |
| Opus 5 | $0.00019 | $0.00335 |
| Sonnet 5 | $0.00008 | $0.00134 |
| Haiku 4.5 | $0.00004 | $0.00067 |
Grade A, and why
javascript 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 yesterday.
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.
This is a copy
100% identical to javascript — 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.
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.
JavaScript — CodeSensei Teaching Module
What is JavaScript?
- Analogy: If HTML is the skeleton and CSS is the skin, JavaScript is the brain and muscles. It makes things HAPPEN — clicks, animations, data loading, form validation.
- Key insight: JavaScript runs in the browser (frontend) AND on the server (backend with Node.js). Same language, two different environments.
Core Concepts to Teach (in order of frequency during vibecoding)
const / let / var
const= a constant, can't be reassigned (use this most of the time)let= a variable that can changevar= the old way, avoid it (mention only if Claude uses it)- Quiz: "Why did Claude use
constinstead oflethere?"
Arrow Functions () => {}
- Analogy: A shorthand recipe card. Instead of writing "Function: do this thing," you write "=> do this thing"
- This is the #1 syntax that confuses beginners. Normalize it early.
Objects {}
- Analogy: A filing cabinet with labeled drawers. Each drawer (property) has a name and contains something.
{ name: "Juan", age: 25 }— the object has two "drawers"
Arrays []
- Analogy: A numbered list. Items have positions (starting from 0, not 1!)
.map(),.filter(),.forEach()— the "assembly line" methods
Async/Await
- Analogy: Ordering food at a restaurant. You place the order (
await) and the kitchen works on it while you chat. When it's ready, it arrives. You don't stand at the kitchen door waiting. - Key insight: Some things take time (loading data, saving to database).
awaitmeans "wait for this to finish before moving on."
Import/Export
- Analogy: Sharing tools between workshops.
exportputs a tool in the shared toolbox.importgrabs it from there. - Key insight: This is how code is organized into separate files that work together.
Template Literals `Hello ${name}`
- Analogy: Mad Libs — the backtick string has blanks (
${}) that get filled in with real values.
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.
- yesterday First seen · 54 lines · 38 tokens per session scan A 9a4b559a1c78
javascript is a skill published in the GitHub repository wewpellex21/code-sensei (3 stars, last pushed 3d ago), licensed MIT. It adds 38 tokens to every session and 670 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 javascript, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
prowler-docs
Prowler documentation style guide and writing standards. Trigger: When writing documentation for Prowler features, tutorials, or guides.
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…
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…
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…
tutorial
Provides interactive guided album creation for new users. Use when the user is new to the plugin or asks for a walkthrough of the album creation process.
verify-pr
Comprehensive PR readiness check before merge. Run quality checks, tests, CI, documentation, AWS resource cleanup, and code review.