COG Second Brain

A self-evolving, local-first second brain that turns daily braindumps, team intelligence, and PM workflows into verified knowledge using plain Markdown files and AI agents.

Stars
★ 1.3k
Last updated
2d ago
License
MIT
Primary language
Python

At a glance

How it runs
Agent plugin / skillCLI
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
GitHub CLI (gh)Obsidian (optional)Git (optional)iCloud (optional)Linear/Slack/PostHog MCP integrations (optional)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
A product manager on a Linear + GitHub team who wants an end-to-end lifecycle tool: PRD drafting with approval gates, duplicate-checked user stories, release notes, and Confluence publishing
Not a fit if
  • Users unwilling to configure GitHub CLI plus Linear, Slack, and PostHog accounts
  • People who want a GUI and no command line or Markdown repo
Source review
64/100 · Some gaps

What does this agent do, and when should you use it?

COG (Cognition + Obsidian + Git) is an MIT-licensed second-brain framework built entirely on local .md files — no database, no vendor lock-in. It ships 33 AI skills, 10 agents (6 workers plus 4 read-only verifiers), and a people CRM with tiered, evidence-cited profiles. Its execution model is deliberate cost engineering: Sonnet workers handle data-heavy extraction and write results to /tmp/ files, while the lead session reads those files and does the reasoning; verifiers receive paths only, so they observe the artifact itself rather than the worker's summary, and the worker never grades its own homework. An opt-in closed-loop harness walks work through a V-model lifecycle — decompose into falsifiable criteria, build, then verify each criterion with traced evidence. Multi-agent support is a first-class feature: native surfaces for Claude Code, Antigravity, Cursor, Kiro, Gemini CLI, and OpenAI Codex, with AGENTS.md as a universal fallback and an Agent Plugins (spec 1.0.0) manifest. Data syncs across devices via Git and iCloud, and framework updates never touch your personal content.

After cloning and running onboarding in your agent, you can: capture raw thoughts with braindump and automatic domain classification; get daily-brief news intelligence enforcing 7-day source freshness; generate a team-brief that cross-references GitHub, Linear, Slack, and PostHog with two-way Linear sync-back; process meeting transcripts into decisions and action items with meeting-transcript; run weekly-checkin and comprehensive-analysis for cross-domain pattern analysis; launch multi-agent parallel strategic research with auto-research; and execute a full PM workflow via create-user-story, generate-prd, generate-release-notes, and publish-to-confluence. Output lands in a structured vault (00-inbox through 06-templates); People CRM profiles auto-escalate from Tier 3 (1 mention) to Tier 1 (8+ mentions or direct meeting), each observation carrying a source citation and confidence level. The memory-hygiene skill re-verifies stored facts against the live environment and stamps last_verified plus confidence, while retro audits evidence quality of completed runs.

  1. A product manager on a Linear + GitHub team who wants an end-to-end lifecycle tool: PRD drafting with approval gates, duplicate-checked user stories, release notes, and Confluence publishing
  2. An engineering lead who wants a daily team brief cross-referencing GitHub, Linear, Slack, and PostHog, with findings synced back to Linear
  3. An Obsidian-based knowledge worker managing daily braindumps, weekly pattern reviews, and monthly knowledge consolidation in plain Markdown
  4. A researcher who needs strategic questions decomposed into parallel multi-agent research threads with traceable sources
  5. A writer or designer who wants anti-slop copy sharpening (no-ai-slop), chart discipline guidance (data-forms), and paired UI taste skills (taste-skill for marketing surfaces, product-ui-taste for daily-use UI)
  6. A privacy-conscious user who wants all notes, people profiles, and intelligence stored locally and synced via iCloud rather than a cloud service

How do you install or deploy this agent?

  1. Clone the repo: git clone https://github.com/huytieu/COG-second-brain.git && cd COG-second-brain. 2. Open the folder in your AI agent and run onboarding: Claude Code — code . then say 'Run onboarding' (discovers .claude/skills/); Cursor — open folder, say 'Run onboarding' (.cursor-plugin/ + .cursorrules); Kiro — say 'setup COG' (.kiro/powers/); Gemini CLI — run gemini, then /onboarding (GEMINI.md + .gemini/commands/); OpenAI Codex — run codex, say 'Run onboarding' (AGENTS.md). Alternatively install via skills.sh: npx skills add huytieu/COG-second-brain. Team skills require the GitHub CLI (gh); Linear, Slack, and PostHog connect via MCP integrations and can be added incrementally starting from GitHub only. Optional Git sync, iCloud, and Obsidian Tasks setup is documented in SETUP.md. Total setup is roughly 2 minutes.

How do you use this agent?

Run onboarding once, then invoke skills in natural language: 'I need to braindump' to capture thoughts; 'Give me my daily brief' for news intelligence; 'Team brief' for team intelligence; 'Process this meeting' for transcripts; 'Weekly review' for pattern analysis; 'Run this through the closed loop' to put a build task through the V-model verification lifecycle; 'Harvest what we learned' to stage session learnings for approval as skill patches; 'Audit my memories' for a memory trust sweep. Update the framework with 'Update COG' or ./cog-update.sh (supports --check, --dry-run, --force); check the version with cat COG-VERSION. Validate agent-surface consistency with ./scripts/validate-agent-surface.sh before publishing framework changes.

What are this agent's strengths and limitations?

Pros
  • Distinctive closed-loop verification: verifiers receive only file paths — never the worker's summary — so they independently observe artifacts, and a cross-model gate catches error classes a self-review would miss
  • Everything is local Markdown with no database or external servers; Git plus iCloud provide version history and multi-device sync, keeping migration and audit costs near zero
  • Covers a full PM lifecycle (PRD, user stories, release notes, knowledge-base publishing) and degrades gracefully — you can start with GitHub only and add integrations over time
  • Framework files are separated from your content, and updates offer per-file keep/backup/overwrite choices so upgrades never silently destroy customizations
Limitations
  • Team intelligence skills depend on the GitHub CLI plus MCP integrations for Linear, Slack, and PostHog — realizing full capability means configuring multiple external accounts
  • The model routing is fixed (Sonnet for data I/O, Opus for reasoning), and you pay your AI agent's API costs; heavy use can produce significant token spend
  • The surface spans 33 skills across 6 agent platforms with concepts like the V-model harness, tiered People CRM, and verification lanes — the learning curve is nontrivial
  • Claims such as '120+ braindumps processed' and '95%+ source accuracy' are author-reported with no independently verifiable benchmarks

How does this agent compare with similar options?

The README positions COG against Notion, Roam, and plain Obsidian, which only store; COG adds self-evolving classification, pattern analysis, and consolidation on top of local Markdown. Its agent architecture is directly inspired by Garry Tan's gstack (specialist sessions, model routing) and gbrain (tiered people-profile enrichment, knowledge-first lookup), and it incorporates Zettelkasten, PARA (Tiago Forte), and GTD methodology.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
COG Second Brain This agent 64 · Some gaps Agent plugin / skillFree + model costs ★ 1.3k 2d ago Python Codex · Claude Code
LLM Wiki Agent 52 · Major gaps Agent plugin / skillFree + model costs ★ 3.7k 6d ago Python Codex · Claude Code
SiYuan 52 · Major gaps Desktop appFreemium ★ 47k today TypeScript —
YouTube Fetcher to Markdown 83 · Good Agent plugin / skillFree ★ 501 18d ago Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
64/ 100 5-point scale 3.2 / 5
This review covers the source as of Sep 10, 2026. The project has shipped 2 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 16/29
Reliability 8/14
Adaptability 14/18
Convention 14/18
Effectiveness 9/13
Verifiability 3/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

README explicitly describes least-privilege design (read-only verifiers cannot write files, workers return only status + path), per-file confirmation before updates, and publishing guardrails (volume caps, screenshot-verified posting). But sensitive-data handling is one line ('local md files') while People CRM, meeting transcripts, and Slack/Linear/PostHog sync actually push personal data into the vault and model APIs with no masking or consent mechanism shown; external mutations (publish-to-confluence, two-way Linear sync, worker-executor 'pre-approved mutations') lack approval detail; dependency security has only an npx install hint, no lockfile or audit evidence.

Reliability8 / 14 · 2.9/5

README is internally consistent: 33 skills, 6 workers, 4 verifiers match across sections; integrations are declared to 'degrade gracefully' with SETUP.md pointers. Failure messaging appears only sporadically (fix-agent max 2 retries); no systematic evidence, hence deduction.

Adaptability14 / 18 · 3.9/5

Excellent audience/scenario coverage: role packs for PM/eng lead/designer/founder, 'Try saying...' trigger examples for all 33 skills, and a support matrix with per-platform coverage and fallback paths. Environment fit across Claude Code/Cursor/Kiro/Gemini/Codex with a concrete skill-discovery table.

Convention14 / 18 · 3.9/5

Clear information architecture (numbered 00–06 vault, framework/content separation), complete install notes (clone + onboarding table + skills.sh), practical FAQ, and a full MIT license. Weaknesses: known limitations are barely disclosed ('zero maintenance', '95%+ source accuracy' are unverified marketing claims); versions exist (COG-VERSION, roadmap v3.1–v3.7) but no standalone changelog in this evidence; solo maintainer, no governance statement.

Effectiveness9 / 13 · 3.5/5

Output usability is evidenced by design (/tmp file + path passing to cut token bloat, post-condition checks, review-cockpit approval slots). Marginal value vs Notion/Obsidian is clearly positioned. Cost/benefit honestly notes users pay their own API costs. But all efficacy claims (120+ braindumps, 5 strategic insights) are self-reported without evidence.

Verifiability3 / 8 · 1.9/5

Claim traceability is weak: headline metrics (95% source accuracy, 120+ entries) cite nothing; external corroboration is limited to directory-site listings; facts and inference are blended in marketing prose, with anthropomorphic claims ('self-evolving', 'learns your patterns') outrunning the described mechanics (md files + classification rules). The verification framework (closed-loop, retro auditing evidence quality) is a good idea but is design documentation, not execution evidence.

Risks and how to mitigate them
  • People CRM and meeting transcripts push colleagues' personal data into local files and model APIs; the README offers no masking, consent, or GDPR-style handling — assess compliance before team use.
  • External mutations (worker-executor, two-way Linear sync-back) claim 'pre-approved' status with thin detail; audit the actual SKILL.md permission gates rather than trusting the README.
  • Efficacy claims ('95%+ source accuracy', '120+ braindumps', 'zero maintenance') are self-reported and uncorroborated; do not rely on them when evaluating utility.
  • cog-update.sh advertises --dry-run and per-file confirmation, but the implementation is not in the provided evidence; read the script before use.
  • npx skills add executes third-party package code from an unverified publisher; review the repository before installing.
Evidence confidence: Low Reviewed Sep 10, 2026 Reviewed revision 623ed001ca6e New commits since this review; the score may not cover them
Review evidence README.mdLICENSE
See the full review method →

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v3.16.0 v3.16.0: PM Release and Content Skills
    Release notes excerpt
    Added PM release and content skills Seven skills that cover what happens after code ships: the release note, the docs article, the demo media, and the posts that announce it. Each one came from a real release cycle and was generalized; product names, channels, repos, and brand values now come from config. …
    View on GitHub ↗
  2. v3.15.0 v3.15.0: Controlled Language
    Release notes excerpt
    Added Controlled-language writing target and output format ladder Adapted from [Andrej Karpathy's post of 2026-10-02](https://x.com/karpathy/status/2105819303471976479) on how to read model output faster. - no-ai-slop gains a Controlled-language target: agent-authored text aims for about 80% of ASD-STE100, the controlled English from aerospace maintenance manuals. Instructions are 20 words max with one action each, descriptive sentences 25 words max, paragraphs 6 sentences max, active voice, one term per meaning, noun clusters three words max, articles kept. Technical terms, c …
    View on GitHub ↗
  3. v3.10.0 v3.10.0: Agent Plugins Standard
    Release notes excerpt
    Agent Plugins standard adoption COG now conforms to the [Agent Plugins specification 1.0.0](https://agent-plugins.org), the open, vendor-neutral plugin format governed by a Technical Steering Committee with representatives from Amazon, Cursor, Microsoft, OpenAI, and Vercel. Any standard-conformant client can load COG as a plugin directly from a checkout. - plugin.json at the repo root: the standard manifest, validated against the published 1.0.0 schema. …
    View on GitHub ↗

FAQ

What does it cost?
COG is free and open source under the MIT license. You only pay for your AI agent's API usage; the Sonnet-for-I/O / Opus-for-reasoning routing is designed to keep that cost down.
Is my data sent to external servers?
No. Everything is local .md files; the agent's API is only called when you invoke a skill, and the repo states nothing is stored on external servers. Optional sync uses Git and iCloud.
Will updating overwrite my customizations?
No. Updates separate framework files from your content, detect customized files, and let you choose per file: keep yours, take upstream, or backup then update.
Is the verification harness on by default?
No. It is opt-in: it runs when you explicitly request it, or by default for build tasks if you set verification_harness: on in 00-inbox/MY-PROFILE.md.
Can I skip Git, and what if I lack all team integrations?
Git is optional (recommended for version history) — iCloud sync alone works fine. Team skills degrade gracefully: start with just GitHub CLI and add Linear, Slack, and PostHog MCP integrations over time.
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents