基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Abilityai/abilities --skill update-memory命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Generate an agent-specific `/update-dashboard` skill that keeps `dashboard.yaml` current for Trinity. Analyzes the agent's purpose and data sources, proposes metrics, gets user approval, then scaffolds a schedulable skill.
Modify an existing playbook based on conversation context or explicit instructions. Use when user wants to update, fix, extend, or refine a playbook they already have.
Create a new skill or playbook. Guides through requirements gathering and generates the appropriate template based on complexity.
| name | update-memory |
| description | Update memory after a session with new information and actions |
| user-invocable | true |
| allowed-tools | Read, Write, Bash |
Update the memory system after a session with new information.
Prepend new actions to memory/action_log.txt:
# Get current timestamp
timestamp=$(date '+%Y-%m-%d %H:%M:%S')
# Prepend new entry (newest at top)
echo "$timestamp - [Action description]" | cat - memory/action_log.txt > tmp.txt && mv tmp.txt memory/action_log.txt
Format each action as:
YYYY-MM-DD HH:MM:SS - Brief description of what was doneUpdate current work state:
jq '.context.recent_work = ["task1", "task2"] | .context.active_topics = ["topic1"]' memory/memory_index.json > tmp.json && mv tmp.json memory/memory_index.json
If new important facts were learned:
jq '.memory.key_facts += ["New important fact"]' memory/memory_index.json > tmp.json && mv tmp.json memory/memory_index.json
If new people/projects/orgs were encountered:
jq '.entities += [{"type": "person", "name": "Name", "relationship": "role", "added": "YYYY-MM-DD"}]' memory/memory_index.json > tmp.json && mv tmp.json memory/memory_index.json
If significant decisions were made:
jq '.memory.decisions += [{"date": "YYYY-MM-DD", "decision": "What was decided", "rationale": "Why"}]' memory/memory_index.json > tmp.json && mv tmp.json memory/memory_index.json
Always update timestamps and counters:
jq '.metadata.last_updated = now | todate | .metadata.total_interactions += 1' memory/memory_index.json > tmp.json && mv tmp.json memory/memory_index.json
Summarize what was updated: