Skip to content
Agentmart
Submit a tool

knowledge

Use when extracting structured knowledge from past sessions — summarizes conversations into memory cards (Obsidian vault) or knowledge cards (SQLite analytics).

Skill by cicidi

IndexedMIT
Write a review

Chalk Labs

Need help deploying knowledge?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/cicidi-knowledge

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when extracting structured knowledge from past sessions — summarizes conversations into memory cards (Obsidian vault) or knowledge cards (SQLite analytics). Use when the user asks to summarize sessions, extract patterns, or build a searchable knowledge base from agent history.

Use cases: data, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/knowledge

What's inside

Skill name
knowledge
Description
Use when extracting structured knowledge from past sessions — summarizes conversations into memory cards (Obsidian vault) or knowledge cards (SQLite analytics). Use when the user asks to summarize sessions, extract patterns, or build a searchable knowledge base from agent history.
License
MIT
Compatibility
claude-code,opencode
Instructions
79 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# knowledge

Two-branch skill for extracting structured knowledge from past sessions.
One writes Markdown memory cards to an Obsidian vault. The other writes
structured summaries and cross-session knowledge cards to SQLite analytics.

## When to Use

- Summarizing completed sessions into reusable memory cards
- Building a searchable knowledge base from agent conversation history
- Extracting patterns, decisions, and lessons across multiple sessions
- Generating knowledge cards for patterns that recur across 2+ sessions

## When NOT to Use

- Searching existing memories → use /memory
- Recording a single correction → use /bug heal
- Real-time session tracking → analytics daemon handles that

## Process

### Step 0: Determine Branch

Ask the user ONE question:

> "Where should the knowledge go?"
> - **Obsidian vault** — Markdown memory cards in `~/obsidian/coworker-brain/` (local, private)
> - **SQLite analytics** — structured summaries + knowledge cards in `analytics.db` (cross-session patterns)

---

## Branch A: Obsidian Vault — Memory Cards

Extract conversation content and write markdown cards to the Obsidian vault.
ALL processing runs locally via Ollama — no session content leaves the machine.

### Steps

1. **Connect** — open `~/.coworker/analytics/analytics.db`, identify sessions not yet summarized
2. **Extract** — for each unprocessed session, pull messages from the `message` table ordered by time
3. **Summarize** — send extracted content to a local Ollama model with a structured JSON prompt:
   - Fields: title, summary, key_decisions, lessons_learned, projects, skills_used, tags, confidence
4. **Write Card** — generate Obsidian Markdown with frontmatter, `[[wikilinks]]`, and a metrics table. Skip thin sessions (< 3 messages) and active sessions
5. **Update Index** — regenerate `Session Memory Index.md`
6. **Report** — count processed, skipped, confidence distribution

**Hard requirement:** NEVER send session content to remote APIs. Local Ollama only.

---

## Branch B: SQLite Analytics — Knowledge Cards

Read session data, feed to LLM for structured analysis, write back to
`session_summaries` and `knowledge` tables. Supports batch mode.

### Single Session

```bash
coworker knowledge summarize <session_id>
```

Reads messages + tool_calls from analytics.db → LLM analysis → writes to:
- `session_summaries`: SOP workflows, context to remember, effective ops,
  pitfalls, wasted actions, bottlenecks, efficiency tip, memory keywords
- `knowledge`: only when patterns recur across 2+ sessions — type
  (trap/best_practice/pattern/decision/constraint), title, summary, evidence

### Batch Mode

```bash
coworker knowledge analyze --since yesterday
coworker knowledge analyze --since "2026-07-01"
coworker knowledge analyze --all
```

Processes all matching sessions. Cross-session pattern detection generates
knowledge cards only when a pattern appears in 2+ sessions.

From cicidi/walter-worker, MIT.

Signals

Stars
0
Forks
0
Open issues
3
Last commit (this folder)
Sep 25, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from cicidi

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get knowledge running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying knowledge?

CallGet help
Cite this page

knowledge skill. Agent Mart. https://agentmart.dev/skills/cicidi-knowledge (last updated 2026-10-24)