Claude Code config

Cog

A plain-text memory system for AI agents. Clone it, point your agent at it, start remembering.

377 stars 20 forksConfig & memory Source

Install

Install
npx skills add marciopuga/cog-skills

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/marciopuga/cog.git

From the README

Cog

One memory, not one per tool. A centralised, plain-text memory layer shared across all your AI agents and projects.

Documentation | Skills | Why Text

What is Cog?

AI agents have memory now — but it's siloed. Each tool remembers things its own way, locked inside its own project. Switch tools or start a new project, and you're re-explaining yourself. Cog gives you one shared memory — structured plain-text files that any agent can read, search, and maintain.

Three primitives:
- L0 headers — progressive context loading (scan before you read)
- Three tiers — hot (always loaded), warm (on demand), glacier (archived)
- Single source of truth — each fact in one place, cross-referenced via wiki-links

No server, no database, no application code. Just markdown files with conventions.

Quick Start

Start your agent and run /cog to bootstrap your domains. Your agent now has persistent memory at ~/cog/memory/.

Claude Code users: the clone already ships the skills at .claude/commands/ (vendored from cog-skills, the canonical source, under their unprefixed names — /reflect, /housekeeping, ...). The npx skills add step is what installs them for other agents, where they carry a cog- prefix (/cog-reflect, ...).

One folder, many projects. ~/cog is your agent's single brain — it works across every project and session. Don't scaffold memory inside each project. That fragments your context. One place where everything connects.

Custom install location

If you cloned somewhere other than ~/cog, set the COG_HOME env var:

Supported Agents

npx skills add auto-detects your agent and installs skills into its native format via skills.sh:

- Claude Code
- Codex (OpenAI)
- Cursor
- Windsurf
- Gemini CLI
- GitHub Copilot
- Opencode
- Cowork (Claude Desktop)

All agents read the same…
Read the full README on GitHub

Details

Repository
marciopuga/cog
License
MIT
Last updated
6 September 2026

FAQ

What is Cog?

A plain-text memory system for AI agents. Clone it, point your agent at it, start remembering. It is a config for Claude Code, from marciopuga/cog on GitHub.

How do I install Cog?

Run npx skills add marciopuga/cog-skills, then follow the setup in the README.

Is Cog popular?

marciopuga/cog has 377 GitHub stars and 20 forks, and is included in 1 curated Claude Code list. It was last updated on 6 September 2026.

More config & memory

Browse the most popular Claude Code mods, all config & memory, or the skills and MCP server directories.