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 skills add minorun365/my-claude-code-settings --skill dreaminggit clone --depth 1 https://github.com/minorun365/my-claude-code-settingsWrote 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.
[](https://agentmods.dev/skills/minorun365/my-claude-code-settings/dreaming)<a href="https://agentmods.dev/skills/minorun365/my-claude-code-settings/dreaming"><img src="https://agentmods.dev/badge/skills/minorun365/my-claude-code-settings/dreaming.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 6 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Agent Snooping · line 23 Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
- high Agent Snooping · line 29 Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
- high Agent Snooping · line 29 Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
- medium Excessive Agency · line 5 Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
- medium Rogue Agent · line 15 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Rogue Agent · line 15 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00108 | $0.03464 |
| Opus 5 | $0.00054 | $0.01732 |
| Sonnet 5 | $0.00022 | $0.00693 |
| Haiku 4.5 | $0.00011 | $0.00346 |
Grade B, and why
dreaming scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
1. **対象収集**: `find ~/.claude/projects -maxdepth 2 -name '*.jsonl' -mtime -1` で過去24時間に動いたセッションログを列挙する(`memory/` 配下は対象外)。件数とサイズを把握し、巨大なものから順にサブエージェントへ。 How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ドリーミング(夜間の学び抽出・設定コンソリデーション)
Claude Managed Agents の Dreaming(セッションとメモリを定期的に見直し、パターンを抽出してメモリをキュレーションする非同期プロセス)を、Claude Code のローカル環境で再現する運用。AGENTS.md の「学習ループ」(その場での同期的な恒久化)の補完として、複数セッションを横断しないと見えないパターンを夜間バッチで拾う。
大原則
- 提案のみ・直接編集禁止。設定ファイル(CLAUDE.md / AGENTS.md / rules / skills / memory)を夜間タスクが直接書き換えることは絶対にしない。差分案をレポートに書くまでが仕事。反映はユーザーが翌朝レビューして「採用」と言ってから(=確定操作は人間が握る半自動化)。
- レポート出力先は
~/.claude/dreaming/(なければmkdir -pで作成)。ファイル名は日次がYYYY-MM-DD-HHMM-daily.md(実行時刻を含める)、週次がYYYY-MM-DD-weekly.md(いずれもJST)。日次を1日に複数回走らせる運用では、同じ日付の既存レポートが上書きで消えないよう、必ず時刻付きファイル名にする。 - 学びがない日は無理に絞り出さない。ノイズルールの蓄積は設定の劣化そのもの。該当なしなら「該当なし」1行のレポートでよい(実行された事実だけ残す)。
- セッションログの生データを親コンテキストへ流さない。1ファイルずつサブエージェント(general-purpose)へ委譲し、フォーマット固定の要約だけ受け取る(AGENTS.md の大規模出力ルール準拠)。サブエージェントは原則逐次起動。
日次ドリーミング(引数: 日次 / daily)
その日1日のセッションから学びを抽出する。
- 対象収集:
find ~/.claude/projects -maxdepth 2 -name '*.jsonl' -mtime -1で過去24時間に動いたセッションログを列挙する(memory/配下は対象外)。件数とサイズを把握し、巨大なものから順にサブエージェントへ。 - 各ログの要約抽出: サブエージェントに次を固定フォーマットで抽出させる(1セッションあたり最大5件・各200字以内):
- ユーザーからの訂正・不満・既出指摘(「違う」「前も言った」「なんで勝手に」等)
- 想定外のエラー・ハマった罠と、その解決策
- 明示された好み・成功パターン(「この設計で正解」等)
- 音声入力の誤変換パターン
- 既存設定との突合: 抽出した学び候補を
grep -rnで~/.claude/AGENTS.md・~/.claude/rules/・~/.claude/skills/・該当プロジェクトの CLAUDE.md / memory と突合し、既に恒久化済みのものは捨てる。セッション内で既に恒久化された形跡(設定ファイルへのコミット)があるものも捨てる。1日に複数回走らせる運用では、同じ日付の~/.claude/dreaming/*-daily.md既存レポートも先に読み、そこで既に提案済みの学びは繰り返さない(前回レポート以降に新しく現れた学びだけを拾う。実質、直近の実行から今までの増分を見る)。 - レポート生成: 残った学び候補ごとに次を記載する:
- 学びの内容(1〜2文)
- 根拠(どのプロジェクトのどのセッションで何が起きたか)
- 提案反映先(AGENTS.md の保存先ルーティング表に従う。両ツール可読の場所を優先)
- 具体的な差分案(追記文面そのもの)
- 末尾に「採用するには、このセッションまたは新しいセッションで『ドリーミング採用』と依頼してください」と書く。
週次コンソリデーション(引数: 週次 / weekly)
設定ファイル群そのものを見直し、痩せさせる。増やす提案ではなく整理の提案が主目的(設定の肥大化はそのままコンテキスト消費になる)。
対象: ~/.claude/CLAUDE.md、~/.claude/AGENTS.md、~/.claude/rules/*.md、~/.claude/skills/*/SKILL.md、~/.claude/projects/*/memory/
観点:
- 重複: 同じルール・ナレッジが複数ファイルに書かれている(
grep -rnで横断確認してから断定する) - 矛盾: 新旧ルールの食い違い。日付の新しい方・実態に合う方を残す案を示す
- 陳腐化: 削除済みのツール・ファイル・MCP への参照、期限切れの時限記述(「7/21以降削除可」等)、解決済みの暫定運用
- 肥大化: 1ファイルが長すぎて分割・スキル化した方がよいもの
- memory の整理: 重複統合・古い事実の修正・インデックス(MEMORY.md)と実ファイルの不一致
- 常時ロード量の推移: 無条件ロードされる行数(
AGENTS.md+CLAUDE.md+paths:無しの rules)を実測してレポート冒頭に記録し、前週と比較する。公式目標は1ファイル200行未満( https://code.claude.com/docs/en/memory )。Codex 側は~/.codex/AGENTS.mdのバイト数も併記する(project_doc_max_bytesの予算内か)。しきい値:~/.claude/AGENTS.mdは450行、~/.codex/AGENTS.mdはproject_doc_max_bytes(262,144バイト)の7割=約183KB。超えていたらレポート冒頭で警告し、作業種別が限られる内容の kb- スキルへの移設を提案する* - 両ツールの整合:
~/.claude/skills/と~/.codex/skills/(および skills-archive)の退避状態のずれ、dotfiles ミラーとの drift - 主戦場への偏在: いちばん作業時間の長いリポジトリの
AGENTS.md/CLAUDE.mdに書かれたルールのうち、そのリポジトリ固有の事実(ディレクトリ構成・手続き・案件)ではないものを洗い出す。作業時間が偏るぶん、全リポジトリで効くべき学びがそこにだけ溜まり、他のリポジトリから見えなくなる。該当したらユーザースコープ(~/.claude/AGENTS.mdまたは共有スキル)への移設を提案する。逆向き(ユーザースコープに書かれたリポジトリ固有の話)も同時に見る
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.
- 8d ago First seen · 107 lines · 108 tokens per session scan B 5f28cb09b26b
dreaming is a skill published in the GitHub repository minorun365/my-claude-code-settings (129 stars, last pushed 10d ago), licensed MIT. It adds 108 tokens to every session and 3,464 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
media-ingest
Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
establishing-project-context
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.