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.
npx skills add justhamade/triadjs --skill triad-behaviorsgit clone --depth 1 https://github.com/justhamade/triadjsWrote 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/skills/justhamade/triadjs/triad-behaviors)<a href="https://agentmods.dev/skills/justhamade/triadjs/triad-behaviors"><img src="https://agentmods.dev/badge/skills/justhamade/triadjs/triad-behaviors/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/skills/justhamade/triadjs/triad-behaviors"><img src="https://agentmods.dev/badge/skills/justhamade/triadjs/triad-behaviors.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.00063 | $0.02598 |
| Opus 5 | $0.00032 | $0.01299 |
| Sonnet 5 | $0.00013 | $0.00520 |
| Haiku 4.5 | $0.00006 | $0.00260 |
Grade A, and why
triad-behaviors 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Behaviors — the BDD DSL
This is the most load-bearing skill for writing correct TriadJS code. The assertion parser is heuristic — phrases that don't match a supported pattern exactly fail with "Unrecognized assertion". The phrase table in §Assertion phrases below is authoritative; don't guess.
The builder
import { scenario } from '@triadjs/core';
scenario('Pets can be created with valid data') // the Scenario: line in Gherkin
.given('a valid pet payload') // narrative string
.body({ name: 'Buddy', species: 'dog', age: 3 })
.when('I create a pet') // narrative string
.then('response status is 201') // parsed assertion
.and('response body matches Pet') // parsed assertion
.and('response body has name "Buddy"'); // parsed assertion
A scenario is documentation, a test, and a Gherkin line in one. Writing an endpoint without behaviors defeats the framework.
.given() stage methods
Everything between .given(...) and .when(...) sets up the request and the fixture bag.
| Method | Effect |
|---|---|
.body(data) |
Sets the request body. Placeholders interpolated from fixtures. |
.params({ id: '{petId}' }) |
Path params. {placeholder} substituted from fixtures. |
.query({ limit: 10 }) |
Query string. |
.headers({ authorization: 'Bearer {token}' }) |
Request headers. |
.setup(async (services) => { ... }) |
Seed the database. Return value is merged into fixtures. |
.fixtures({ key: value }) |
Inline fixtures (merged on top of setup() return). |
Fixtures and {placeholder} substitution
Two sources of fixtures, merged at run time:
.setup()return value — anything it returns becomes fixtures..fixtures({...})— static values.
Inside strings, {key} is replaced with String(fixtures[key]). Special case: if a string is entirely one token (e.g. '{petId}') and the fixture value is not a string, the raw non-string value is substituted (so numbers stay numbers).
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.
- 9d ago First seen · 203 lines · 63 tokens per session scan A 2f5be873039b
triad-behaviors is a skill published in the GitHub repository justhamade/triadjs (23 stars, last pushed 4mo ago), licensed MIT. It adds 63 tokens to every session and 2,598 once invoked, about $0.0003 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.
Other skills, from other repositories
research-engineer
An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.
tika-eval-compare
Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".
neuron-evaluation-engineer
Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…
jetson-validate-image
Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.
atmos-validation
Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.
skill-benchmark
Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.