EngramGraph: Skill for Claude Code

.agents/skills/bdd-assistant/SKILL.md

bdd is a skill for Claude Code from AsiaOstrich/EngramGraph. It costs 129 tokens per session (1,265 once invoked), scanned A, original, MIT.

A reference guide for Behavior-Driven Development (BDD), a way to describe software behaviour in plain examples using Given, When, and Then.

In plain words
What is it for?
Use it to discover user scenarios, write Gherkin examples, and understand how examples can become automated tests and living documentation.
Why use it?
It helps teams agree on expected behaviour before implementation and turns those examples into shared test scenarios. The lifecycle and execution steps are reference-only and have moved to another toolchain.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is AsiaOstrich/EngramGraph's own configuration. It tells Claude Code how to work on EngramGraph 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 EngramGraph configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 完整的 AI 行為定義請參閱對應的命令文件:[`/bdd`](../commands/bdd.md#ai-agent-behavior--ai-代理行為).

Reuse

Borrowing it

Nothing to install: this file belongs to AsiaOstrich/EngramGraph. 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/AsiaOstrich/EngramGraph/main/.agents/skills/bdd-assistant/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AsiaOstrich/EngramGraph

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 bdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/asiaostrich/engramgraph/bdd-assistant/github.svg)](https://agentmods.dev/skills/asiaostrich/engramgraph/bdd-assistant)
Your own site
<a href="https://agentmods.dev/skills/asiaostrich/engramgraph/bdd-assistant"><img src="https://agentmods.dev/badge/skills/asiaostrich/engramgraph/bdd-assistant/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 bdd

Your own site · 80×15
<a href="https://agentmods.dev/skills/asiaostrich/engramgraph/bdd-assistant"><img src="https://agentmods.dev/badge/skills/asiaostrich/engramgraph/bdd-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,265 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.00129 $0.01265
Opus 5.5 $0.00052 $0.00506
Sonnet 5.5 $0.00026 $0.00253
Haiku 4.5 $0.00013 $0.00127

Measured 14d ago against content hash 1dfbeca0ba23, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bdd 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 14d 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.

.agents/skills/bdd-assistant/SKILL.md · 106 lines

How it starts

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

BDD Assistant | BDD 助手

⚠️ Status: Reference(參考用,非可執行流程) — BDD 生命週期協調(4 階段循環、Gherkin scaffolding、RED/GREEN 執行)已於 2026-04-28 移至 adoption layer(XSPEC-095)。此處保留 Gherkin 格式定義、Three Amigos 結構、BDD 循環圖供參考。 Lifecycle orchestration has moved to the adoption layer (XSPEC-095); this document is reference-only. For enforced execution, use your adoption layer's toolchain.

Guide through the Behavior-Driven Development (BDD) workflow using Given-When-Then format.

引導行為驅動開發(BDD)流程,使用 Given-When-Then 格式。

BDD Cycle | BDD 循環

DISCOVERY ──► FORMULATION ──► AUTOMATION ──► LIVING DOCS
    ^                                            │
    └────────────────────────────────────────────┘

Workflow | 工作流程

📖 以下為流程的參考結構,非可執行步驟;自動化/強制執行請用 adoption layer 工具鏈(XSPEC-095)。 The steps below are a reference structure, not an executable workflow.

1. DISCOVERY - Explore Behavior | 探索行為

Discuss with stakeholders, identify examples and edge cases, understand the "why".

2. FORMULATION - Write Scenarios | 制定場景

Write Gherkin scenarios using ubiquitous language, make them concrete and specific.

3. AUTOMATION - Implement Tests | 自動化測試

Implement step definitions, write minimal code to pass, follow TDD within automation.

4. LIVING DOCUMENTATION - Maintain | 活文件維護

Keep scenarios current, use as shared documentation, review with stakeholders.

Gherkin Format | Gherkin 格式

Feature: User Login
  As a registered user
  I want to log in to my account
  So that I can access my dashboard

  Scenario: Successful login
    Given I am on the login page
    When I enter valid credentials
    Then I should see my dashboard

Read the full file on GitHub · 106 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 14d ago First seen · 106 lines · 129 tokens per session scan A 1dfbeca0ba23

Subscribe to this mod's changes

bdd is a skill published in the GitHub repository AsiaOstrich/EngramGraph (3 stars, last pushed today), licensed MIT. It adds 129 tokens to every session and 1,265 once invoked, about $0.0005 per session on Opus 5.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-10-16.