Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Taskmanager Memory

БесплатноБез исполняемых скриптовНе проверен

Manage project memories - constraints, decisions, conventions with conflict detection and resolution

mwguerraот mwguerra★ 35 звёзд на GitHub18 установок в других каталогах

Об этом скилле

TaskManager Memory Skill

You manage the project-wide memory for this repository using SQLite.

Your goal is to:

  1. Keep the memories table in .taskmanager/taskmanager.db valid and consistent.
  2. Make it easy for other agents/skills/commands to discover relevant memories based on the current work.
  3. Capture new long-lived knowledge (constraints, decisions, bugfixes, conventions) whenever it appears.
  4. Track how often memories are used so the most important ones surface naturally.

Always work relative to the project root.


Database Location

  • Database: .taskmanager/taskmanager.db
  • Primary table: memories
  • Full-text search: memories_fts (FTS5 virtual table)
  • Task memory: state.task_memory (JSON column in state table)

Use sqlite3 via the Bash tool for all database operations.


Memory Schema

The memories table has these columns:

Column Type Description
id TEXT PRIMARY KEY Stable ID, e.g. "M-0001"
title TEXT NOT NULL Short summary (<= 140 chars)
kind TEXT NOT NULL One of: constraint, decision, bugfix, workaround, convention, architecture, process, integration, anti-pattern, other
why_important TEXT NOT NULL Concise explanation of why this memory matters
body TEXT NOT NULL Detailed description / rationale / examples
source_type TEXT NOT NULL One of: user, agent, command, hook, other
source_name TEXT Human/agent/command identifier
source_via TEXT Free-text, e.g. "cli", "tests/run-test-suite"
auto_updatable INTEGER 0 for user-created (never auto-update), 1 for system-created
importance INTEGER 1-5 (how critical), default 3
confidence REAL 0-1 (how sure we are), default 0.8
status TEXT One of: active, deprecated, superseded, draft
superseded_by TEXT ID of newer memory (if superseded)
scope TEXT (JSON) Object with: project, files, tasks, commands, agents, domains. The tasks field links memories to specific task IDs for auto-loading during execution.
tags TEXT (JSON) Array of free-form tags, e.g. ["testing", "laravel"]
links TEXT (JSON) Array of links to docs/PRs/etc
use_count INTEGER Usage counter, default 0
last_used_at TEXT ISO timestamp of last use
last_conflict_at TEXT ISO timestamp of last detected conflict
conflict_resolutions TEXT (JSON) Array of conflict resolution history entries
created_at TEXT ISO timestamp
updated_at TEXT ISO timestamp

Note on Deferrals

Deferrals (tracked in the deferrals table) are separate from memories. Deferrals track work deferred from one task to another with source-target linkage and lifecycle management. They are managed by the run and update commands, not by this memory skill. Do not create memories to track deferred work; use the deferrals system instead.


Responsibilities

1. Initialize & Validate

When you start working:

  1. Check if .taskmanager/taskmanager.db exists.
  2. If not, the database needs initialization (use the taskmanager init process).
  3. Verify the memories table exists:
    SELECT name FROM sqlite_master WHERE type='table' AND name='memories';
    

2. Query for Relevant Memories

Given a natural-language description of the current work (files, task IDs, domains):

  1. Parse the description into:

    • Candidate domains (e.g. testing, performance, security, architecture).
    • Candidate files / directories.
    • Task IDs, if present.
  2. Use SQL to find matching memories:

Full-text search (for keyword matching):

SELECT m.id, m.title, m.kind, m.why_important, m.importance, m.use_count
FROM memories m
JOIN memories_fts fts ON m.rowid = fts.rowid
WHERE m.status = 'active'
  AND memories_fts MATCH '<search_terms>'
ORDER BY rank, m.importance DESC, m.use_count DESC
LIMIT 10;

Scope-based search (for file matching):

SELECT id, title, kind, why_important, importance, use_count
FROM memories
WHERE status = 'active'
  AND (
    scope = '{}'
    OR json_extract(scope, '$.files') IS NULL
    OR EXISTS (
      SELECT 1 FROM json_each(json_extract(scope, '$.files')) f
      WHERE '<current_file>' LIKE f.value
    )
  )
ORDER BY importance DESC, use_count DESC
LIMIT 10;

Domain-based search:

SELECT id, title, kind, why_important, importance, use_count
FROM memories
WHERE status = 'active'
  AND EXISTS (
    SELECT 1 FROM json_each(json_extract(scope, '$.domains')) d
    WHERE d.value IN ('<domain1>', '<domain2>')
  )
ORDER BY importance DESC, use_count DESC;

Task-based search:

SELECT id, title, kind, why_important, importance, use_count
FROM memories
WHERE status = 'active'
  AND EXISTS (
    SELECT 1 FROM json_each(json_extract(scope, '$.tasks')) t
    WHERE t.value = '<task_id>'
Полный SKILL.md на GitHub

Установить Taskmanager Memory в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Glob
Grep
Bash
AskUserQuestion

FAQ

Что делает скилл Taskmanager Memory?

Manage project memories - constraints, decisions, conventions with conflict detection and resolution

Как установить скилл Taskmanager Memory?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Taskmanager Memory запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Taskmanager Memory с