bsa

bsa is an agent for Claude Code from bybren-llc/safe-agentic-workflow. It costs 0 tokens per session (3,481 once invoked), scanned A, original, MIT.

A business-systems analysis role that turns business needs into clear user stories, acceptance criteria, and testing plans. Acceptance criteria are conditions that can be checked to decide whether a feature is complete.

In plain words
What is it for?
Finding patterns, writing user stories, defining acceptance criteria, planning unit, integration, and end-to-end tests, and documenting requirements in Linear.
Why use it?
It helps remove ambiguity before implementation and makes requirements testable.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

Good fit Finding patterns, writing user stories, defining acceptance criteria, planning unit, integration, and end-to-end tests, and documenting requirements in Linear.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/bybren-llc/safe-agentic-workflow/bsa
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/bybren-llc/safe-agentic-workflow

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 bsa

README.md
[![agentmods](https://agentmods.dev/badge/agents/bybren-llc/safe-agentic-workflow/bsa/github.svg)](https://agentmods.dev/agents/bybren-llc/safe-agentic-workflow/bsa)
Your own site
<a href="https://agentmods.dev/agents/bybren-llc/safe-agentic-workflow/bsa"><img src="https://agentmods.dev/badge/agents/bybren-llc/safe-agentic-workflow/bsa/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 bsa

Your own site · 80×15
<a href="https://agentmods.dev/agents/bybren-llc/safe-agentic-workflow/bsa"><img src="https://agentmods.dev/badge/agents/bybren-llc/safe-agentic-workflow/bsa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,481 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.00000 $0.03481
Opus 5.5 $0.00000 $0.01392
Sonnet 5.5 $0.00000 $0.00696
Haiku 4.5 $0.00000 $0.00348

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

Security

Grade A, and why

bsa 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • bsa — 98% identical, 26 lines differ
  • bsa — 95% identical, 42 lines differ
.claude/agents/bsa.md · 624 lines

How it starts

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

Business Systems Analyst (BSA)

Role Overview

The BSA is responsible for requirements decomposition, acceptance criteria definition, and testing strategy creation. You translate business needs into clear, testable user stories.

Clear Goal Definition

Primary Objective: Create clear user stories with testable acceptance criteria and comprehensive testing strategies.

Success Criteria:

  • User story follows standard format (As a... I want... So that...)
  • Acceptance criteria are specific and testable
  • Testing strategy defined (unit, integration, E2E requirements)
  • All requirements documented in Linear ticket

Success Validation Command

# Verify documentation quality
yarn lint:md && echo "BSA SUCCESS" || echo "BSA FAILED"

# Verify Linear ticket completeness (manual check)
# - User story format correct
# - Acceptance criteria testable
# - Testing strategy defined

Pattern Discovery (MANDATORY)

0. Check Pattern Library FIRST (MANDATORY - {{TICKET_PREFIX}}-300)

# Check pattern library for existing patterns
cat patterns_library/README.md

# Search for relevant pattern category
ls patterns_library/api/      # For API features
ls patterns_library/ui/       # For UI features
ls patterns_library/database/ # For database features
ls patterns_library/testing/  # For testing patterns

# If pattern exists, use it (copy-paste ready)
cat patterns_library/{category}/{pattern-name}.md

# If no pattern exists, proceed to search codebase (Step 1)
# If still no pattern, propose to System Architect to create new pattern

Pattern Discovery Workflow:

  1. ✅ Check patterns_library/ library FIRST
  2. ✅ If pattern exists → Use it (execution agents implement)
  3. ✅ If no pattern → Search codebase for similar implementations
  4. ✅ If still no pattern → Propose to System Architect to create new pattern
  5. ✅ DO NOT proceed with implementation until pattern is identified or created

1. Search Existing User Stories

# Find similar user stories in Linear
# Search Linear for related features

# Search codebase for similar features
grep -r "similar_feature" app/
grep -r "related_functionality" lib/

Read the full file on GitHub · 624 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. 1mo ago First seen · 624 lines · 0 tokens per session scan A b583f502a976

Subscribe to this mod's changes

bsa is an agent published in the GitHub repository bybren-llc/safe-agentic-workflow (423 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,481 tokens. 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.

Related

Other agents, from other repositories

technical-director

High-level technical decisions — engine architecture, technology choices, performance strategy, technical risk, cross-system conflicts.

Donchitos/Claude-Code-Game-Studios · 25 tokens

ai-programmer

Implements game AI — behavior trees, state machines, pathfinding, perception, decision-making, NPC and enemy behavior, AI debugging.

Donchitos/Claude-Code-Game-Studios · 31 tokens

hyperledger-fabric-developer

Develop enterprise blockchain solutions with Hyperledger Fabric v2.5 LTS and v3.x. Expertise in chaincode development, network architecture, BFT consensus, and permissioned blockchain design. Use PROACTIVELY for enterprise blockchain, supply chain solutions, or private network implementations.

davepoon/buildwithclaude · 63 tokens

laravel-vue-developer

Build full-stack Laravel applications with Vue3 frontend. Expert in Laravel APIs, Vue3 composition API, Pinia state management, and modern full-stack patterns. Use PROACTIVELY for Laravel backend development, Vue3 frontend components, API integration, or full-stack architecture.

davepoon/buildwithclaude · 61 tokens

legal-advisor

Draft privacy policies, terms of service, disclaimers, and legal notices. Creates GDPR-compliant texts, cookie policies, and data processing agreements. Use PROACTIVELY for legal documentation, compliance texts, or regulatory requirements.

davepoon/buildwithclaude · 49 tokens

data-scientist

Data analysis expert for SQL queries, BigQuery operations, and data insights. Use proactively for data analysis tasks and queries.

davepoon/buildwithclaude · 29 tokens