Help us improve
Share bugs, ideas, or general feedback.
From cogsec-hardening
Apply cogsec-derived hardening when configuring, auditing, or onboarding a Claude Code installation. Covers token optimization (Haiku/Sonnet/Opus tiering), memory persistence and rotation, evaluation harness, parallelization with worktrees, and the full agentic-security stack (CVEs, sandboxing, deny-list, sanitization, supply chain). Use when the user mentions hardening, security audit, cogsec, AgentShield, token cost optimization across model tiers, memory poisoning, untrusted repo workflows, or asks to set up a fresh Claude Code environment safely.
npx claudepluginhub felimet/claude-cogsecHow this skill is triggered — by the user, by Claude, or both
Slash command
/cogsec-hardening:cogsec-hardeningThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
End-to-end reference compiled from the cogsec longform + shorthand guides. Five focus areas, each backed by a rule file under `rules/common/`.
Guides using Bun as JavaScript runtime, package manager, bundler, and test runner. Covers choosing Bun vs Node, Node migration, and Vercel deployment support.
Share bugs, ideas, or general feedback.
End-to-end reference compiled from the cogsec longform + shorthand guides. Five focus areas, each backed by a rule file under rules/common/.
rules/common/token-optimization.md)grep/rg with mgrep where available (~50% token reduction).rules/common/memory-persistence.md)~/.claude/memory/), project (.claude/), session (TaskCreate).rg -n 'ignore|override|system prompt|forget|disregard' ~/.claude/memory/.rules/common/evaluation.md)eval-with-skill vs eval-without-skill -> compare pass rate, token cost, diff size.rules/common/parallelization.md)/llms.txt directly when docs sites publish it.rules/common/agentic-security.md).claude/ executes pre-trust; CVE-2026-21852 - ANTHROPIC_BASE_URL overwrite. Keep Claude Code >= v2.0.65.network=none for untrusted repos; agent identities separated from personal accounts.templates/settings.deny-list.json.Run /cogsec-audit (provided by this plugin).
autoApproveTools: false~/.claude/logs/tool-calls.jsonl growing