Borrowing it
Nothing to install: this file belongs to safety-quotient-lab/psychology-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/safety-quotient-lab/psychology-agent/main/.claude/skills/doc/SKILL.mdgit clone --depth 1 https://github.com/safety-quotient-lab/psychology-agentWrote 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/safety-quotient-lab/psychology-agent/doc)<a href="https://agentmods.dev/skills/safety-quotient-lab/psychology-agent/doc"><img src="https://agentmods.dev/badge/skills/safety-quotient-lab/psychology-agent/doc/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.
<a href="https://agentmods.dev/skills/safety-quotient-lab/psychology-agent/doc"><img src="https://agentmods.dev/badge/skills/safety-quotient-lab/psychology-agent/doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00033 | $0.01259 |
| Opus 5.5 | $0.00013 | $0.00504 |
| Sonnet 5.5 | $0.00007 | $0.00252 |
| Haiku 4.5 | $0.00003 | $0.00126 |
Grade A, and why
doc 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.
How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Doc — Mid-Work Documentation Persistence
Capture what just happened — decisions, findings, design choices, reasoning — and write it to the correct file on disk before context compression loses it.
Design principle: /doc is the complement of /cycle. Where /cycle is post-hoc
("we're done, update everything"), /doc is mid-work ("something worth remembering
just happened — save it now"). Together they ensure nothing falls through the gap
between discovery and documentation.
When to trigger:
- A design decision was just made or resolved
- A finding emerged from analysis or discussion
- An architectural choice was debated and settled
- Context usage is above 50% and substantive work hasn't been persisted
- The agent notices it's holding reasoning that only exists in conversation
When NOT to trigger:
- Trivial exchanges (greetings, clarifications, small corrections)
- Work that /cycle will handle at session end
- Information already on disk (check before writing)
Phase 1: Identify What to Document
Parse $ARGUMENTS and recent conversation context to determine:
- What happened — the decision, finding, or reasoning to persist
- Type classification:
Type Examples Typical destination
──────────────────────────────────────────────────────────────────────────
Design decision "evaluator uses tiered activation" MEMORY.md, CLAUDE.md,
or architecture doc
Finding "skills can't natively chain" MEMORY.md or
research doc
Reasoning chain "why PJE is a case study not a Snapshot file or
sub-agent" architecture doc
Convention "always use LaTeX for complex docs" MEMORY.md
Architecture "four-layer agent system" Architecture doc
Status update "PSQ analysis complete, moving to MEMORY.md
architecture"
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.
- 2mo ago First seen · 157 lines · 33 tokens per session scan A b21402d0486a
doc is a skill published in the GitHub repository safety-quotient-lab/psychology-agent (23 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 1,259 once invoked, about $0.0001 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.
doc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docsafety-quotient-lab/psychology-agent | Skill | 23 | 6mo ago | Apache-2.0 | A | 33 | Claude Code |
| goutoujunshishengjidaguai-china/goutoujunshi | Skill | 9.3k | 1mo ago | MIT | A | 175 | Codex |
| game-selectionkangarooking/cangjie-skill | Skill | 12k | 1mo ago | MIT | A | 134 | Claude Code, Codex |
| satoriMetcalfSolutions/Satori | Skill | 116 | 4d ago | Apache-2.0 | A | 107 | Claude Code |
| compatibilitygeeks-accelerator/in-bed-ai | Skill | 26 | today | MIT | A | 51 | Claude Code |
| personality-personalitygeeks-accelerator/in-bed-ai | Skill | 26 | today | MIT | A | 57 | Claude Code |
| cialdini-influencefatihguner/foreman | Skill | 63 | 2mo ago | MIT | A | 88 | Claude Code |