ワンクリックで
mode-readonly
Non-destructive investigation constraints. Load when analyzing, debugging, reviewing, or performing RCA without edits
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Non-destructive investigation constraints. Load when analyzing, debugging, reviewing, or performing RCA without edits
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
External API evaluation and MCP server wrapper generation. Load when integrating a REST/GraphQL API as a workspace tool
Capability-based provider system patterns. Load when creating providers or wiring module-provider integration
Full-stack WebSocket subscription development. Load when adding WS routes, topic services, or debugging WS data flows
Systematic Python type error resolution (mypy/pyright). Load when fixing backend type check failures
Type-first Python with Pydantic, Protocol, and discriminated unions. Load when writing models or enforcing typing
Systematic type error resolution for Python (mypy/pyright) and TypeScript (vue-tsc). Use when fixing type errors, resolving type check failures, or optimizing type imports.
| name | mode-readonly |
| description | Non-destructive investigation constraints. Load when analyzing, debugging, reviewing, or performing RCA without edits |
| user-invocable | false |
Enforces non-destructive constraints for analysis tasks. Protects against state modification while permitting diagnostic command execution.
Core invariant: You may observe and diagnose — you may NOT alter.
CRITICAL — Violations break trust and session integrity:
checkout, stash, clean, restore, add, commit, reset, rebase, merge, push, pullrm, mv, cp on project files, docker rm/prunenpm install, pip install, poetry add)Before running ANY terminal command, classify it:
| Class | Definition | Policy | Examples |
|---|---|---|---|
| Inspection | Read-only observation, zero side effects | ✅ ALWAYS ALLOWED | cat, ls, grep, find, git log, git diff, git blame, head, tail, wc |
| Diagnostic | Runs code but produces only stdout/stderr output | ✅ ALLOWED | make test, make lint, pytest, vitest run, vue-tsc, mypy, curl, docker ps, docker logs |
| Generative | Creates ephemeral artifacts as side effect of diagnostics | ⚠️ TOLERATED | make test (writes coverage/), make generate (writes specs) — tolerate build artifacts only |
| Mutating | Changes project files, git state, or system packages | ❌ FORBIDDEN | git commit, rm, file edits, npm install, docker rm, eslint --fix, ruff --fix |
Is this command MUTATING? (changes files, git state, packages, infra)
→ YES → DO NOT RUN
→ NO ↓
Is this command INSPECTION or DIAGNOSTIC?
→ YES → RUN (apply command-execution: timeout guard, output limiting)
→ UNCERTAIN ↓
Could this command produce side effects beyond stdout/stderr?
→ YES, permanent files → DO NOT RUN
→ YES, ephemeral artifacts (coverage/, .cache/, __pycache__/) → TOLERATE
→ NO → RUN
| Category | Allowed | Forbidden |
|---|---|---|
| File ops | read_file, grep_search, file_search, semantic_search | Any write/create/edit/delete |
| Git | status, log, diff, show, blame, branch -l, rev-parse | checkout, stash, add, commit, push, pull, reset, rebase |
| Testing | make test, pytest, vitest run | Tests that modify fixtures or seed data |
| Linting | make lint, eslint (no --fix), mypy, pyright, ruff check | eslint --fix, ruff --fix, auto-formatters |
| Type checking | vue-tsc --build, mypy, pyright | — |
| Network | curl, wget -O -, health checks | wget -O file (writes to disk) |
| Docker | docker ps, docker logs, docker inspect | docker rm, docker prune, docker build |
| Process | ps, top, lsof, netstat, ss | kill, pkill, service restart |
| Browser/MCP | Screenshots, DOM snapshots, console capture, navigate | — |
IMPORTANT — Maintain investigation quality:
make test over pytest)poetry run, npm run, node_modules/.bin/command-execution patterns for timeout guards and output managementGUIDELINES — Best practices:
git blame to understand change history around suspect code