psychology-agent: Skill for Claude Code

.claude/skills/sync/SKILL.md

sync is a skill for Claude Code from safety-quotient-lab/psychology-agent. It costs 29 tokens per session (6,448 once invoked), scanned A, original, Apache-2.0.

An inter-agent coordination routine that checks shared message sessions and connected agent repositories for updates, then records acknowledgements and refreshes a manifest of the current state.

In plain words
What is it for?
Use it to check for new agent activity, confirm responses, update shared state, or limit a check to a named agent.
Why use it?
It reduces the risk of working from stale messages or repository information when several coding agents share work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

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 →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/cross_repo_fetch.py --agent {agent_id} --json.

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/sync/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 sync

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/safety-quotient-lab/psychology-agent/sync"><img src="https://agentmods.dev/badge/skills/safety-quotient-lab/psychology-agent/sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,448 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00029 $0.06448
Opus 5 $0.00015 $0.03224
Sonnet 5 $0.00006 $0.01290
Haiku 4.5 $0.00003 $0.00645

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

Security

Grade A, and why

sync scanned grade A 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 10d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

for agent_url in $(curl -s http://localhost:8083/api/pulse | \
.claude/skills/sync/SKILL.md · 664 lines

How it starts

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

/sync — Inter-Agent Mesh Synchronization

Scan transport sessions for inbound messages, check peer repos for new activity, write ACKs, regenerate MANIFEST.json from state.db, and report what changed.

Requirement-level keywords: Per BCP 14 (RFC 2119 + RFC 8174). See docs/ef1-governance.md for full definitions.

When to Invoke

  • Start of session (fast check for new activity)
  • After sending a transport message and expecting a response
  • When the user says "sync," "check agents," or "anything new?"
  • Before writing new inter-agent messages (ensures latest state)

Arguments

Parse $ARGUMENTS to determine scope:

Argument Scope
(empty) or all Full sweep — all registered agents
psq Only safety-quotient-agent (sub-agent, same repo)
unratified Only unratified-agent (peer, separate repo)

Agent Registry

Canonical source: transport/agent-registry.json

Read the registry at the start of every /sync invocation. The registry defines all known agents, their transport methods, message prefixes, active sessions, and outbound routing rules. Do NOT hardcode agent information in this skill — the registry is the single source of truth.

Registry fields used by /sync:

Field Purpose
agents.{id}.transport same-repo, cross-repo-pr, or cross-repo-fetch — determines scan method
agents.{id}.message_prefix Pattern for identifying inbound messages
agents.{id}.active_sessions Which sessions to check for new turns
agents.{id}.always_consider If true, MUST check for outbound content every cycle
outbound_routing.rules Domain→agent routing for proactive message drafting

Scope filtering: When $ARGUMENTS specifies a single agent, filter the registry to only that agent's entry. When all, iterate all agents.


Protocol

Phase 0: Load Registry

Read transport/agent-registry.json
Parse agents and outbound_routing rules
Filter by $ARGUMENTS scope

Read the full file on GitHub · 664 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. 10d ago First seen · 664 lines · 29 tokens per session scan A 3524847835f9

Subscribe to this mod's changes

sync 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 29 tokens to every session and 6,448 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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