mischief-managed

mischief-managed is a skill for Claude Code, Codex from ethanolivertroy/my-agent-stuff. It costs 49 tokens per session (749 once invoked), scanned A, original, MIT.

A session-summary skill that saves a short Markdown record of a coding-agent session in an Obsidian vault. Obsidian is a note-taking app that stores searchable Markdown files.

In plain words
What is it for?
Use it to document completed coding work and create a searchable handoff note for future sessions.
Why use it?
It preserves decisions, changes, checks, caveats, and follow-up work so a finished session can be found and resumed later. It does not save a full conversation transcript.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to document completed coding work and create a searchable handoff note for future sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanolivertroy/my-agent-stuff/mischief-managed
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 ethanolivertroy/my-agent-stuff --skill mischief-managed
Clone the repo
git clone --depth 1 https://github.com/ethanolivertroy/my-agent-stuff

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 mischief-managed

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanolivertroy/my-agent-stuff/mischief-managed/github.svg)](https://agentmods.dev/skills/ethanolivertroy/my-agent-stuff/mischief-managed)
Your own site
<a href="https://agentmods.dev/skills/ethanolivertroy/my-agent-stuff/mischief-managed"><img src="https://agentmods.dev/badge/skills/ethanolivertroy/my-agent-stuff/mischief-managed/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 mischief-managed

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanolivertroy/my-agent-stuff/mischief-managed"><img src="https://agentmods.dev/badge/skills/ethanolivertroy/my-agent-stuff/mischief-managed.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 749 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.00049 $0.00749
Opus 5.5 $0.00020 $0.00300
Sonnet 5.5 $0.00010 $0.00150
Haiku 4.5 $0.00005 $0.00075

Measured 2mo ago against content hash 6ca75f40bf94, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mischief-managed 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 2mo 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/mischief-managed/SKILL.md · 101 lines

How it starts

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

Mischief Managed - Session Summary to Obsidian

Write a compact session note into an Obsidian vault so the work is searchable and resumable later. This is a summary, not a full transcript. For transcript-style capture in Pi, use the built-in /export command or pi --export.

Obsidian Vault Location

Use this priority order:

  1. If the user gives a vault path or note path, use it.
  2. If OBSIDIAN_VAULT_PATH is set, write to $OBSIDIAN_VAULT_PATH/Agent-Sessions/.
  3. If ~/Obsidian exists, write to ~/Obsidian/Agent-Sessions/.
  4. Otherwise ask once for the Obsidian vault path before writing.

Do not silently write outside an Obsidian vault unless the user explicitly asks.

Filename:

{YYYY-MM-DD-HHMM}-{slug}.md

Use a 2-4 word kebab-case slug based on the completed work.

Metadata

Run one shell command to collect context:

git rev-parse --abbrev-ref HEAD 2>/dev/null || echo ""; basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo ""; date +%Y-%m-%d-%H%M; date +"%b %d, %Y"; pwd; git remote get-url origin 2>/dev/null || echo ""

Map output to:

  • BRANCH
  • REPO
  • DATETIME
  • PRETTY_DATE
  • DIR
  • REPO_URL

If the git values are blank, omit them from frontmatter.

Note Shape

---
date: {DATETIME}
branch: {BRANCH}
repo: {REPO}
directory: {DIR}
tags: [agent-session, codex-session, {tag1}, {tag2}]
---

# Session: {SLUG} - {PRETTY_DATE}

## Summary
2-3 sentences describing what changed and why.

## What Was Discussed
- Short bullets with useful context.

## Key Decisions
- decision - rationale

## Code Changes
- `path` - what changed and why

## Tests & Validation
- `command` - result

## Risks / Caveats
- Anything unresolved, unverified, or worth revisiting.

## Questions & Follow-ups
- [ ] Concrete next action

Required sections: Summary, What Was Discussed, Key Decisions, and Questions & Follow-ups.

Include Code Changes, Tests & Validation, and Risks / Caveats only when meaningful.

Read the full file on GitHub · 101 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. 2mo ago First seen · 101 lines · 49 tokens per session scan A 6ca75f40bf94

Subscribe to this mod's changes

mischief-managed is a skill published in the GitHub repository ethanolivertroy/my-agent-stuff (11 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 749 once invoked, about $0.0002 per session on Opus 5.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-30.