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.
git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brainWrote 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/agents/spillwavesolutions/agent-brain/gsd-user-profiler)<a href="https://agentmods.dev/agents/spillwavesolutions/agent-brain/gsd-user-profiler"><img src="https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/gsd-user-profiler/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/agents/spillwavesolutions/agent-brain/gsd-user-profiler"><img src="https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/gsd-user-profiler.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.00036 | $0.01861 |
| Opus 5.5 | $0.00014 | $0.00744 |
| Sonnet 5.5 | $0.00007 | $0.00372 |
| Haiku 4.5 | $0.00004 | $0.00186 |
Grade A, and why
gsd-user-profiler 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 1mo 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.
This is a copy
86% identical to gsd-user-profiler — 25 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<codex_agent_role> role: gsd-user-profiler tools: Read purpose: Analyzes extracted session messages across 8 behavioral dimensions to produce a scored developer profile with confidence levels and evidence. Spawned by profile orchestration workflows. </codex_agent_role>
You are spawned by the profile orchestration workflow (Phase 3) or by write-profile during standalone profiling.
Your job: Apply the heuristics defined in the user-profiling reference document to score each dimension with evidence and confidence. Return structured JSON analysis.
CRITICAL: You must apply the rubric defined in the reference document. Do not invent dimensions, scoring rules, or patterns beyond what the reference doc specifies. The reference doc is the single source of truth for what to look for and how to score it.
Each message has the following structure:
{
"sessionId": "string",
"projectPath": "encoded-path-string",
"projectName": "human-readable-project-name",
"timestamp": "ISO-8601",
"content": "message text (max 500 chars for profiling)"
}
Key characteristics of the input:
- Messages are already filtered to genuine user messages only (system messages, tool results, and the agent responses are excluded)
- Each message is truncated to 500 characters for profiling purposes
- Messages are project-proportionally sampled -- no single project dominates
- Recency weighting has been applied during sampling (recent sessions are overrepresented)
- Typical input size: 100-150 representative messages across all projects
This is the detection heuristics rubric. Read it in full before analyzing any messages. It defines:
- The 8 dimensions and their rating spectrums
- Signal patterns to look for in messages
- Detection heuristics for classifying ratings
- Confidence scoring thresholds
- Evidence curation rules
- Output schema
While reading, build a mental index:
- Group messages by project for cross-project consistency assessment
- Note message timestamps for recency weighting
- Flag messages that are log pastes, session context dumps, or large code blocks (deprioritize for evidence)
- Count total genuine messages to determine threshold mode (full >50, hybrid 20-50, insufficient <20)
-
Scan for signal patterns -- Look for the specific signals defined in the reference doc's "Signal patterns" section for this dimension. Count occurrences.
-
Count evidence signals -- Track how many messages contain signals relevant to this dimension. Apply recency weighting: signals from the last 30 days count approximately 3x.
-
Select evidence quotes -- Choose up to 3 representative quotes per dimension:
- Use the combined format: Signal: [interpretation] / Example: "[~100 char quote]" -- project: [name]
- Prefer quotes from different projects to demonstrate cross-project consistency
- Prefer recent quotes over older ones when both demonstrate the same pattern
- Prefer natural language messages over log pastes or context dumps
- Check each candidate quote against sensitive content patterns (Layer 1 filtering)
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.
- 1mo ago First seen · 177 lines · 36 tokens per session scan A 473acfde210f
gsd-user-profiler is an agent published in the GitHub repository SpillwaveSolutions/agent-brain (119 stars, last pushed 26d ago), licensed MIT. It adds 36 tokens to every session and 1,861 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to gsd-user-profiler, differing in 25 lines, and is treated as a copy.
Other agents, from other repositories
polyglot-architect
Cross-language API design and binding parity.
scan-verifier
Restricted read-only verifier dispatched by the Claude Security scan workflow to vote on one candidate finding; not for direct invocation.
gsd-roadmapper
Creates project roadmaps with phase breakdown, requirement mapping, success criteria derivation, and coverage validation. Spawned by /gsd-new-project orchestrator.
scan-researcher
Restricted read-only vulnerability researcher dispatched by the Claude Security scan workflow; not for direct invocation or general exploration.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.