assistant
БесплатноБез исполняемых скриптовНе проверенContext-aware briefings, memory recall, knowledge graph queries, and intelligent recommendations for the secretary plugin
от mwguerra★ 35 звёзд на GitHubОб этом скилле
Assistant Skill
Provide context-aware assistance, intelligent briefings, memory recall, and knowledge graph queries.
When to Use
- User asks "What should I work on?" or "What do I have pending?"
- User asks "What did I decide about X?" or "Remind me about..."
- User wants context about current or past work
- Session just started and a briefing is needed
- User wants to search across all captured knowledge
- User needs cross-project awareness or related item discovery
- User asks about the status of tracked items
- User wants to explore the knowledge graph
Database Locations
# Main database
SECRETARY_DB_PATH="$HOME/.claude/secretary/secretary.db"
# Encrypted memory (sensitive data)
SECRETARY_MEMORY_DB_PATH="$HOME/.claude/secretary/memory.db"
# Scripts
PLUGIN_ROOT="$HOME/.claude/plugins/secretary"
Generate Briefing
Query and format a comprehensive briefing based on current context.
1. Pending Commitments
SELECT id, title, due_date, priority, project, status, stakeholder
FROM commitments
WHERE status IN ('pending', 'in_progress')
ORDER BY
CASE WHEN due_date IS NOT NULL AND due_date < date('now') THEN 0
WHEN due_date = date('now') THEN 1
WHEN due_date IS NOT NULL THEN 2
ELSE 3 END,
CASE priority WHEN 'critical' THEN 1 WHEN 'high' THEN 2 WHEN 'medium' THEN 3 ELSE 4 END;
2. Recent Decisions (Project-Specific)
SELECT id, title, category, created_at
FROM decisions
WHERE status = 'active'
AND (project = :current_project OR project IS NULL)
AND created_at >= datetime('now', '-7 days')
ORDER BY created_at DESC LIMIT 5;
3. Goal Progress
SELECT id, title, progress_percentage, target_date, goal_type
FROM goals WHERE status = 'active'
ORDER BY
CASE WHEN target_date IS NOT NULL THEN 0 ELSE 1 END,
progress_percentage DESC
LIMIT 5;
4. Ideas Inbox
SELECT id, title, idea_type, priority
FROM ideas WHERE status = 'captured'
ORDER BY created_at DESC LIMIT 5;
5. GitHub Items (Cache Only)
SELECT data FROM github_cache
WHERE id = 'combined' AND expires_at > datetime('now');
6. Queue Status
SELECT COUNT(*) as pending FROM queue WHERE status = 'pending';
Memory Recall
When the user asks about past work, search across all knowledge stores.
FTS5 Search (Primary)
-- Search decisions
SELECT d.id, d.title, d.description, d.rationale, d.category,
d.project, d.created_at
FROM decisions d
JOIN decisions_fts ON decisions_fts.rowid = d.rowid
WHERE decisions_fts MATCH :query AND d.status = 'active'
ORDER BY rank LIMIT 10;
-- Search commitments
SELECT c.id, c.title, c.description, c.priority, c.status,
c.project, c.created_at
FROM commitments c
JOIN commitments_fts ON commitments_fts.rowid = c.rowid
WHERE commitments_fts MATCH :query
ORDER BY rank LIMIT 10;
-- Search ideas
SELECT i.id, i.title, i.description, i.idea_type, i.status,
i.project, i.created_at
FROM ideas i
JOIN ideas_fts ON ideas_fts.rowid = i.rowid
WHERE ideas_fts MATCH :query
ORDER BY rank LIMIT 10;
-- Search knowledge nodes
SELECT kn.id, kn.name, kn.node_type, kn.description, kn.importance
FROM knowledge_nodes kn
JOIN knowledge_nodes_fts ON knowledge_nodes_fts.rowid = kn.rowid
WHERE knowledge_nodes_fts MATCH :query
ORDER BY rank LIMIT 10;
LIKE Fallback
When FTS5 is too strict or the query contains special characters:
SELECT id, title, description, rationale, category, project, created_at
FROM decisions
WHERE status = 'active'
AND (title LIKE '%' || :query || '%'
OR description LIKE '%' || :query || '%'
OR rationale LIKE '%' || :query || '%')
ORDER BY created_at DESC LIMIT 10;
Encrypted Memory Search
bash "$PLUGIN_ROOT/scripts/memory-manager.sh" search "query"
Session History Search
SELECT id, project, started_at, summary, duration_seconds / 60 as minutes
FROM sessions
WHERE summary LIKE '%' || :query || '%'
ORDER BY started_at DESC LIMIT 5;
Knowledge Graph Queries
Find Entity Relationships
SELECT
kn_target.name as related_entity,
kn_target.node_type as entity_type,
ke.relationship,
ke.strength
FROM knowledge_edges ke
JOIN knowledge_nodes kn_target ON kn_target.id = ke.target_node_id
WHERE ke.source_node_id = :entity_id
ORDER BY ke.strength DESC;
Find All Connections for an Entity
SELECT
CASE WHEN ke.source_node_id = :entity_id THEN kn_t.name ELSE kn_s.name END as connected_to,
CASE WHEN ke.source_node_id = :entity_id THEN kn_t.node_type ELSE kn_s.node_type END as type,
ke.relationship,
ke.strength
FROM knowledge_edges ke
JOIN knowledge_nodes kn_s ON kn_s.id = ke.source_node_id
JOIN knowledge_nodes kn_t ON kn_t.id = ke.target_node_id
WHERE ke.source_node_id = :entity_id OR ke.target_node_id = :entity_id
ORDER BY ke.strength DESC;
Find Paths Between Entities
SELECT
kn1.name as entity_a,
ke1.relationship
Установить assistant в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashGlobGrepFAQ
Что делает скилл assistant?
Context-aware briefings, memory recall, knowledge graph queries, and intelligent recommendations for the secretary plugin
Как установить скилл assistant?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл assistant запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic