Skip to content
Back to skills

Project Brain

ASecurity

Consulting and updating Project Brain, the persistent project knowledge — querying with npm run brain before decisions (architecture, business context, ownership, dependencies, ADRs, RFCs, glossary, patterns, anti-patterns, lessons, incidents, reports, releases), and proposing new typed entries after work. Use at the start of any decision and at handoff when something was learned (project brain, knowledge, memory, prior decisions, lessons learned, what do we know).

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgo

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add vectora-os/kit --skill project-brain --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Project Brain?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Project Brain
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectora-os-project-brain/badge)](https://www.skillsdirectory.com/skills/vectora-os-project-brain)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: project-brain
description: Consulting and updating Project Brain, the persistent project knowledge — querying with npm run brain before decisions (architecture, business context, ownership, dependencies, ADRs, RFCs, glossary, patterns, anti-patterns, lessons, incidents, reports, releases), and proposing new typed entries after work. Use at the start of any decision and at handoff when something was learned (project brain, knowledge, memory, prior decisions, lessons learned, what do we know).
metadata:
  category: governance
---

# Project Brain

## Purpose

Make every agent decide with the organization's memory and leave that memory richer than it found it.

**Use when:** before any decision, design, review or plan; and when a task produced a reusable lesson, pattern or report.

**Not for:** storing secrets, personal data, conversation transcripts or facts that already have a canonical document (link to it instead).

## Inputs

- A topic or question.
- Work results: handoff reports, postmortems, reviews, measurements.

## Outputs

- Relevant entries and canonical documents with paths.
- New or updated brain entries (via `context-engineer`).

## Read first

- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "project brain"` for prior decisions, patterns and anti-patterns.
- [Project Brain: layout, entry types, rules](../../../project-brain/README.md)

## Steps

1. **Query.** Run `npm run brain -- query "<topic>"` (add `--type adr|pattern|anti-pattern|lesson|incident|…`). Read the top results and the canonical documents they point to.
   Done when you can name the decisions and lessons that constrain the task, or state that none exist.
2. **Respect.** Treat accepted ADRs and active entries as constraints; superseded entries as history only. Conflicts between entries are questions for the owner.
   Done when the plan cites the entries it relies on.
3. **Capture.** At handoff, ask: did we learn a pattern, anti-pattern or lesson, change ownership or dependencies, produce a report? If yes, scaffold with `npm run brain -- new <type> "<title>"`.
   Done when each lesson is one entry with sources.
4. **Validate.** Run `npm run brain -- check`: frontmatter, types, links, review dates.
   Done when the check passes.

## Best practices

- One fact, one place: brain entries link to ADRs, docs and code instead of copying them.
- Write entries for a reader in six months: context, what happened, what to do.
- Tag generously with domain terms from the glossary.
- Supersede, don't delete: history explains today's choices.

## Common mistakes

- Skipping the query and re-deciding a settled question.
- Dumping a conversation as an "entry".
- Entries without sources or owners.
- Recording a guess as a fact.

## Example

Before proposing retries for a webhook sender, the agent queries "retries webhook" and finds the anti-pattern "unbounded retries without jitter" (from incident 2026-03) and the pattern "outbox + backoff"; the design cites both. After the task, a lesson "provider X returns 200 on duplicate" is added.

## Reusable prompt

```text
Apply the Project Brain skill (.agents/skills/project-brain/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Query Project Brain for the topic, list the binding decisions and lessons with paths, flag conflicts, and after the work propose the entries to add.
Return: Relevant entries and canonical documents with paths.; New or updated brain entries (via context-engineer)..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.