emergence

emergence is a skill for Claude Code, Codex from Kshitijpalsinghtomar/depth-skills. It costs 26 tokens per session (1,603 once invoked), scanned A, original, MIT.

A review method for finding problems that appear only when separate system components interact. It looks for feedback loops, shared-resource conflicts, timing dependencies, and mismatched assumptions.

In plain words
What is it for?
Use it after reviewing individual components to inspect their connections and find system-level bugs.
Why use it?
Parts can each work correctly in isolation while their interaction still causes failures or security problems.

Skill for Claude CodeCodex

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

Good fit Use it after reviewing individual components to inspect their connections and find system-level bugs.

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

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 emergence

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-emergence"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-emergence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,603 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.00026 $0.01603
Opus 5 $0.00013 $0.00801
Sonnet 5 $0.00005 $0.00321
Haiku 4.5 $0.00003 $0.00160

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

Security

Grade A, and why

emergence 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 12d 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/ds-emergence/SKILL.md · 189 lines

How it starts

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

EMERGENCE — Interaction-Level Analyzer

You've analyzed each component. Each one is correct in isolation. Each passes its tests.

Now: what happens when they interact?

Emergence is what systems do that no individual part was designed to do. It is the traffic jam no car intended. The cascading failure no single service caused. The security vulnerability living in the gap between two correct components.

Component-level analysis cannot see this. These behaviors exist only in the interaction.


The Failure Mode You Must Recognize

You just reviewed each component separately and declared them all correct. You are about to say "the system should work" without checking:

  • Whether component A and component B both write to the same resource (contention)
  • Whether component A's error handling triggers component B's error handling (feedback loop)
  • Whether component A assumes it's the only consumer of a resource that component C also uses (assumption collision)
  • Whether the behavior changes when component A responds in 5000ms instead of 50ms (timing dependency)

Individual correctness does not guarantee system correctness.


The Protocol

Step 1 — MAP ALL INTERACTIONS

List every component in THIS system. Then map every interaction — both designed and hidden:

INTERACTION MAP
────────────────────────────────────────
COMPONENTS:
  1. [name — what it does]
  2. [name — what it does]
  3. [name — what it does]
  ...

DESIGNED INTERACTIONS (explicit — the intended interfaces):
  [A] → [B]: [what data/signal flows and how]
  [B] → [C]: [what data/signal flows and how]

HIDDEN INTERACTIONS (implicit — not designed but real):
  [A] and [C]: both write to [shared resource]
  [B] and [D]: both consume from [shared queue/pool/API]
  [A] and [D]: compete for [shared capacity — network/memory/CPU]
  [B] and [E]: both process [same request/data] with different assumptions
────────────────────────────────────────

The hidden interactions are where emergence lives. Designed interactions are tested. Hidden interactions are not.

Read the full file on GitHub · 189 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. 12d ago First seen · 189 lines · 26 tokens per session scan A 63b6d6c63d79

Subscribe to this mod's changes

emergence is a skill published in the GitHub repository Kshitijpalsinghtomar/depth-skills (4 stars, last pushed 3mo ago), licensed MIT. It adds 26 tokens to every session and 1,603 once invoked, about $0.0001 per session on Opus 5. 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

refactoring-patterns

Code refactoring patterns with before/after diffs for extract method, extract class, inline, move, rename, dead code removal, dependency injection, and code smell detection.

medy-gribkov/arcana · 40 tokens

pr-review

AUTHOR SKILL (internal to microsoft/aspire-skills). Reviews pull requests into this repo for problems only — bugs, regressions, missing eval coverage, frontmatter or routing damage, plugin-manifest drift, hook safety, and other concrete issues. Drives a six-step workflow: identify the PR, ensure the branch is…

microsoft/aspire-skills · 241 tokens

predict

Analyzes diffs for regression risk and blast radius, generates risk-scored impact report. Triggers: PR review, code change risk, breaking change, blast radius, regression check.

softspark/ai-toolkit · 39 tokens

squid-architecture-review

Periodic architectural sweep — reads existing ADRs, maps modules/dependencies/layering, and reports up to 10 prioritised findings shaped as refactor proposals /squid-refactor can consume directly.

iusztinpaul/squid · 47 tokens

analyze

Analyzes code quality, complexity, patterns across codebase. Triggers: quality report, hotspot scan, code analysis, architecture signal.

softspark/ai-toolkit · 30 tokens

codex

Multi-AI adversarial fallback chain — three tiers: Codex CLI (primary), OpenCode/GLM5 (fallback), Claude subagent (last resort). Three modes: review (code review with pass/fail gate), challenge (adversarial — tries to break your code), consult (ask anything with session continuity). Use when asked to "codex review"…

WingedGuardian/GENesis-AGI · 101 tokens