Index of every page on this site: llms.txt
All skills
Run it yourself

Implement the Business Brain pattern. Gives every agent skill access to your tone, audience, and positioning without bloating the context window. Use when asked for brand context, voice, or positioning, or when setting up a new project's brain.

Use this Skill: https://skilld.dev/gh/genericservice/claude-skills/business-brain

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈65 tokens for metadata: the name and description. ≈885 when used: this file.

Description uses 3.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈261 characters, or 3.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Business Brain Pattern

This skill implements the "Business Brain Pattern" for AI coding assistants. It centralizes all shared business and brand knowledge in one location—the "brain"—and allows individual skills or agent queries to reference it selectively rather than duplicating it.

The Problem

Loading full brand guides, audience profiles, and positioning documents into every skill or prompt bloats the context window. This increases token usage, diffuses the agent's attention from the actual task instructions, and creates a maintenance nightmare when brand guidelines change.

The Solution

The Business Brain pattern keeps individual skill prompts lean. Each skill loads only the brain sections it actually uses. The brain is organized into modular files by topic.

Usage

When tasked with retrieving brand context, writing on-brand copy, or answering questions about the project's audience:

  1. Check for a local brain: Look for an .agent/brain/ directory (or legacy brain/, .claude/brain/, .gemini/brain/) in the project workspace.
  2. Selective loading: Use your file reading tools to load only the specific files needed for the task.
    • Example: A social media drafting task might only need brand-voice.md and audience-profiles.md.
    • Example: A technical spec task might only need content-rules.md.
  3. DO NOT load the entire brain directory if only one piece of context is needed. Trust the modular structure.

Initialization

If the user wants to set up a new Business Brain for their project, run the included scaffolding script to generate the template files:

bash ~/.agents/skills/business-brain/scripts/init-brain.sh

(Path may vary depending on the agent environment, e.g., ~/.claude/skills/ or ~/.gemini/skills/)

This script creates an .agent/brain/ directory with the following templates:

  • brand-voice.md
  • audience-profiles.md
  • positioning.md
  • content-rules.md

Structure of the Brain

A well-built business brain isn't a data dump. It's structured and scannable:

brand-voice.md

  • Specify sentence length preferences.
  • Define the register (first person, formal "we", conversational "I").
  • List words/phrases to always use and never use.
  • Describe the energy level.
  • Include 2-3 sample paragraphs demonstrating the voice, and examples of off-brand writing.

audience-profiles.md

  • Define 2-4 primary audience segments.
  • Job title/life situation.
  • What they care about most and what they're skeptical of.
  • Familiarity level with the topic.
  • Language/framing that resonates.

positioning.md

  • What the company/product does.
  • Who it's for.
  • Why someone would choose it over alternatives.
  • Explicitly state what you do not claim. Keep it focused (200-300 words).

content-rules.md

  • Structural preferences across output types.
  • Header formatting conventions.
  • List vs. prose preferences.
  • Length guidelines.
  • How to handle calls to action.

Agentic OS Integration

If the current project root contains an .agent/ directory, this skill MUST participate in the Agentic OS shared-memory model.

At the end of your execution, check for .agent/state/last-run.json. If it exists, append or update the file using its required schema to log your run. Ensure you capture your runtime (agent_id), assigned_skill, a concise description, decision_log, and outcome. Use python3 ~/.agents/skills/heartbeat/scripts/heartbeat.py complete <task_id> ... if completing a task from the queue.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    The 'business-brain' skill is a utility for managing brand and project context. It uses local shell and Python scripts for scaffolding directories and logging task completion. No malicious patterns, external downloads, or data exfiltration attempts were detected.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: LOW · No issues

Signed by skilld at b07f28f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 7 months ago
version
1.2.0

README badge

README badge for genericservice/claude-skills/business-brain