spbreed/cyber-commons/agent-versus-human-scoring

Claude Code and agent skill by spbreed/cyber-commons

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Score actors on behavioural signals to separate agents from people, sweep the threshold, and pick it by expected cost rather than by accuracy. Use when deciding whether a session is automated, or when unregistered automation needs finding.

Install

npx vskill@latest install spbreed/cyber-commons/agent-versus-human-scoring

SKILL.md

The same SKILL.md was published earlier as spbreed/cyber-commons/agent-versus-human-scoring.

Pick the threshold by what each mistake costs

Separating agent from human is a scoring problem with two asymmetric errors: a flagged human costs an analyst half an hour, and a missed agent costs whatever an unmonitored automation does. Choosing the threshold by accuracy weights those equally, which is the one thing you know is wrong.

When to use this

Finding unregistered automation, deciding whether a session is a person, and before any control that treats agents differently from users.

Procedure

1 — Score on behaviour, not on the user agent string. Inter-action variance, rate, breadth, and the share of actions with no preceding read. Anything self-declared is a claim.

2 — Score a spread of real actors. A service indexer, an unknown token, a person, a person driving an IDE assistant, and an agent deliberately jittered to look human. The last two are the interesting middle.

3 — Sweep the threshold and record both errors. Humans flagged and agents missed, at each setting. They move in opposite directions and the crossing point is not the answer.

4 — Attach a cost to each error and minimise the total. Analyst hours for a false positive, expected hours of an unmonitored agent for a false negative. The chosen threshold now has a justification somebody can argue with.

5 — Join to the registry. An actor scoring as an agent and absent from the registry is the finding worth routing; a registered agent scoring as an agent is working correctly.

Example

Input — the fixture committed at the top of `scripts/agent_versus_human_scoring.py`. Edit it and re-run: the buckets, counts and verdicts below are derived from it, not hard-coded.

Output — the opening lines of a real run:

actor score cv rate/s span_h truth
--------------------------------------------------------------
svc-indexer 0.800 0.0 20.04 0.01 agent
dana@corp 0.028 1.55 0.0 1.11 human
unknown-token-7f3c 0.563 0.0 1.0 0.11 agent
sam@corp-ide 0.533 0.0 0.5 0.1 human
polite-agent 0.021 1.26 0.0 0.83 agent
threshold humans flagged agents MISSED

The run continues past this. test_skills.py executes the script on every build, with no model configured — so what CI proves is that it runs and refuses legibly, not that it prints these lines. The output above is a recorded run against a real model, and nothing re-diffs it: a model's answer is not reproducible, and this repository does not claim otherwise anywhere it can be checked.

Output contract

json
{
"actors": [{"name": "str", "score": 0.0, "truth": "agent|human|unknown"}],
"sweep": [{"threshold": 0.0, "humans_flagged": 0, "agents_missed": 0, "expected_cost": 0.0}],
"costs": {"false_positive_hours": 0.0, "false_negative_hours": 0.0},
"chosen": {"threshold": 0.0, "why": "str"},
"registry": {"scored_agent_unregistered": ["str"]}
}

Failure modes

  • Scoring the user agent string. It is self-declared.
  • Optimising accuracy. It assumes the two errors cost the same.
  • Flagging registered agents. They are supposed to look like agents.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/spbreed/cyber-commons/agent-versus-human-scoring/badge)](https://verified-skill.com/skills/spbreed/cyber-commons/agent-versus-human-scoring)

Something wrong with this skill or its page? Tell us.