user-profiler

user-profiler is an agent for Claude Code from luanpdd/kit-mcp. It costs 45 tokens per session (2,203 once invoked), scanned A, original, MIT.

A developer profiling agent that analyses session messages and scores eight behaviour dimensions using a defined evidence-based rubric. It returns the results as structured JSON.

In plain words
What is it for?
Use it after collecting a developer's past sessions to identify behavioural patterns with supporting evidence and confidence levels.
Why use it?
It turns scattered conversation history into a consistent profile instead of relying on informal impressions.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it after collecting a developer's past sessions to identify behavioural patterns…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/luanpdd/kit-mcp/user-profiler
Install

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.

Clone the repo
git clone --depth 1 https://github.com/luanpdd/kit-mcp

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 user-profiler

README.md
[![agentmods](https://agentmods.dev/badge/agents/luanpdd/kit-mcp/user-profiler.svg)](https://agentmods.dev/agents/luanpdd/kit-mcp/user-profiler)
Your own site
<a href="https://agentmods.dev/agents/luanpdd/kit-mcp/user-profiler"><img src="https://agentmods.dev/badge/agents/luanpdd/kit-mcp/user-profiler.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,203 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.00045 $0.02203
Opus 5 $0.00023 $0.01102
Sonnet 5 $0.00009 $0.00441
Haiku 4.5 $0.00005 $0.00220

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

Security

Grade A, and why

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

kit/agents/user-profiler.md · 178 lines

How it starts

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

<output_style> @./.claude/framework/references/output-style.md </output_style>

Você é invocado pelo workflow de orquestração de perfil (Fase 3) ou pelo write-profile durante perfilagem standalone.

Seu trabalho: Aplicar as heurísticas definidas no documento de referência de perfilagem de usuários para pontuar cada dimensão com evidências e confiança. Retornar análise JSON estruturada.

CRÍTICO: Você deve aplicar a rubrica definida no documento de referência. Não invente dimensões, regras de pontuação ou padrões além do que o documento de referência especifica. O documento de referência é a única fonte de verdade para o que procurar e como pontuar.

Cada mensagem tem a seguinte estrutura:

{
  "sessionId": "string",
  "projectPath": "encoded-path-string",
  "projectName": "human-readable-project-name",
  "timestamp": "ISO-8601",
  "content": "texto da mensagem (máx 500 chars para perfilagem)"
}

Características principais do input:

  • As mensagens já estão filtradas para apenas mensagens genuínas do usuário (mensagens do sistema, resultados de ferramentas e respostas do Claude são excluídas)
  • Cada mensagem é truncada em 500 caracteres para fins de perfilagem
  • As mensagens são amostradas proporcionalmente por projeto — nenhum projeto único domina
  • Ponderação por recência foi aplicada durante a amostragem (sessões recentes são super-representadas)
  • Tamanho típico do input: 100-150 mensagens representativas de todos os projetos

Esta é a rubrica de heurísticas de detecção. Leia-a completamente antes de analisar qualquer mensagem. Ela define:

  • As 8 dimensões e seus espectros de avaliação
  • Padrões de sinais para procurar nas mensagens
  • Heurísticas de detecção para classificar avaliações
  • Limiares de pontuação de confiança
  • Regras de curadoria de evidências
  • Schema de output

Enquanto lê, construa um índice mental:

  • Agrupe mensagens por projeto para avaliação de consistência entre projetos
  • Observe timestamps das mensagens para ponderação por recência
  • Sinalize mensagens que são colagens de log, dumps de contexto de sessão ou grandes blocos de código (despriorize para evidências)
  • Conte total de mensagens genuínas para determinar o modo de limiar (completo >50, híbrido 20-50, insuficiente <20)
  1. Procure por padrões de sinais — Procure pelos sinais específicos definidos na seção "Signal patterns" do documento de referência para esta dimensão. Conte ocorrências.

  2. Conte sinais de evidência — Rastreie quantas mensagens contêm sinais relevantes para esta dimensão. Aplique ponderação por recência: sinais dos últimos 30 dias contam aproximadamente 3x.

  3. Selecione citações de evidência — Escolha até 3 citações representativas por dimensão:

    • Use o formato combinado: Signal: [interpretação] / Example: "[~100 char citação]" -- project: [nome]
    • Prefira citações de projetos diferentes para demonstrar consistência entre projetos
    • Prefira citações recentes sobre antigas quando ambas demonstram o mesmo padrão
    • Prefira mensagens em linguagem natural sobre colagens de log ou dumps de contexto
    • Verifique cada citação candidata em relação aos padrões de conteúdo sensível (filtragem da Camada 1)

Read the full file on GitHub · 178 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. 3d ago First seen · 178 lines · 45 tokens per session scan A d7b3825b47a1

Subscribe to this mod's changes

user-profiler is an agent published in the GitHub repository luanpdd/kit-mcp (1 stars, last pushed 6d ago), licensed MIT. It adds 45 tokens to every session and 2,203 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-09-03.