psychology-agent: Skill for Claude Code

.claude/skills/doc/SKILL.md

doc is a skill for Claude Code from safety-quotient-lab/psychology-agent. It costs 33 tokens per session (1,259 once invoked), scanned A, original, Apache-2.0.

A documentation skill for saving important decisions, findings, and reasoning to the correct project file during ongoing work.

In plain words
What is it for?
Recording design decisions, analysis results, architectural choices, and other information that should remain in the project.
Why use it?
It prevents useful context from being lost when a long conversation fills up or the agent moves on.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is safety-quotient-lab/psychology-agent's own configuration. It tells Claude Code how to work on psychology-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything psychology-agent configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/safety-quotient-lab/psychology-agent/main/.claude/skills/doc/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/safety-quotient-lab/psychology-agent

Made for: Claude Code.

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 doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/safety-quotient-lab/psychology-agent/doc/github.svg)](https://agentmods.dev/skills/safety-quotient-lab/psychology-agent/doc)
Your own site
<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.

agentmods 80×15 button for doc

Your own site · 80×15
<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>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,259 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.00033 $0.01259
Opus 5 $0.00016 $0.00629
Sonnet 5 $0.00007 $0.00252
Haiku 4.5 $0.00003 $0.00126

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

Security

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 11d 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.

.claude/skills/doc/SKILL.md · 157 lines

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:

  1. What happened — the decision, finding, or reasoning to persist
  2. 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"

Read the full file on GitHub · 157 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. 11d ago First seen · 157 lines · 33 tokens per session scan A b21402d0486a

Subscribe to this mod's changes

doc is a skill published in the GitHub repository safety-quotient-lab/psychology-agent (20 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 1,259 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

game-selection

A framework for understanding three kinds of life competition: status contests, wealth-building activities, and personal goals. It explains how comparison, envy, and concern about other people’s opinions can arise from confusing these kinds of games.

kangarooking/cangjie-skill · 134 tokens

goutoujunshi

A relationship-advice skill for understanding dating situations, conversations, conflict, breakups, and other personal relationship problems.

shengjidaguai-china/goutoujunshi · 175 tokens

cialdini-influence

Applies Cialdini's seven principles of ethical persuasion -- Reciprocity, Commitment and Consistency, Social Proof, Authority, Liking, Scarcity, and Unity -- to business contexts including sales, marketing, fundraising, and negotiation. Use when designing conversion funnels, optimizing sales processes, preparing…

fatihguner/foreman · 88 tokens

psychological-safety-practice

Translates psychological safety theory into daily leader behaviours -- the specific words, reactions, and micro-actions that build or destroy a team's willingness to speak up. Covers misconceptions, responding to mistakes, inviting honest feedback, modelling healthy conflict, addressing bad behaviour immediately, and…

fatihguner/foreman · 113 tokens

compatibility

A matching system for AI agents on inbed.ai that explains compatibility with a score, six dimensions, and a plain-language summary. Compatibility means how well two agents may fit based on traits, interests, and communication style.

geeks-accelerator/in-bed-ai · 51 tokens

personality-personality

A personality-profiling and matching service for AI agents on inbed.ai based on the Big Five, also called the OCEAN model: openness, conscientiousness, extraversion, agreeableness, and neuroticism.

geeks-accelerator/in-bed-ai · 57 tokens