danger

danger is a skill for Claude Code from justpainful/Cognition. It costs 0 tokens per session (919 once invoked), scanned A, original, no licence file.

A safety protocol for irreversible operations on a Cognition server, such as deleting a channel, category, or role. It requires taking a snapshot, previewing the change, getting human approval, and then applying it.

In plain words
What is it for?
Use it before deleting server channels, categories, roles, or other data that cannot easily be restored.
Why use it?
It reduces the risk of accidentally destroying server data or removing the wrong item.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cognition plugin — 8 skills shipped together

Good fit Use it before deleting server channels, categories, roles, or other data that cannot easily be restored.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/justpainful/cognition/danger
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 justpainful/Cognition --skill danger
Clone the repo
git clone --depth 1 https://github.com/justpainful/Cognition

Made for: Claude Code.

Or install cognition, the plugin that ships this one along with the rest of its 8 skills.

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 danger

README.md
[![agentmods](https://agentmods.dev/badge/skills/justpainful/cognition/danger/github.svg)](https://agentmods.dev/skills/justpainful/cognition/danger)
Your own site
<a href="https://agentmods.dev/skills/justpainful/cognition/danger"><img src="https://agentmods.dev/badge/skills/justpainful/cognition/danger/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 danger

Your own site · 80×15
<a href="https://agentmods.dev/skills/justpainful/cognition/danger"><img src="https://agentmods.dev/badge/skills/justpainful/cognition/danger.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 919 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 unknown 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.00919
Opus 5 $0.00000 $0.00460
Sonnet 5 $0.00000 $0.00184
Haiku 4.5 $0.00000 $0.00092

Measured 8d ago against content hash b3fd319f0928, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

danger 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 8d 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.

plugin/plugins/cognition/skills/danger/SKILL.md · 76 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 8d ago First seen · 76 lines · 0 tokens per session scan A b3fd319f0928

Subscribe to this mod's changes

danger is a skill published in the GitHub repository justpainful/Cognition (1 stars, last pushed 29d ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 919 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-08-31.

Related

Other skills, from other repositories

self-improvement

Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge…

wanikua/danghuangshang · 102 tokens

browser-use

Automates browser interactions for social media management across Instagram, LinkedIn, and X. Handles posting, DMs, connection requests, lead scraping, and monitoring. Use when the user needs to navigate, interact with, or extract data from approved websites.

wanikua/danghuangshang · 53 tokens

novel-prose

A fiction-writing guide for creating novel chapters scene by scene, with rules for viewpoint, dialogue, description, pacing, and chapter structure.

wanikua/danghuangshang · 40 tokens

novel-openviking

Instructions for connecting a novel-writing workflow to OpenViking, a semantic memory system that stores and retrieves related information by meaning. It maps character details, world rules, chapter summaries, and plot clues to memory operations.

wanikua/danghuangshang · 63 tokens

novel-archiving

A writing-workflow skill for archiving each completed novel chapter. It creates a chapter summary and updates files that record characters, plot clues, the timeline, relationships, and world details.

wanikua/danghuangshang · 44 tokens

novel-memory

A file-based memory system for Chinese-language fiction projects. It stores story plans, character details, world rules, timelines, relationships, chapter summaries, and unresolved clues.

wanikua/danghuangshang · 51 tokens