skills/iyangl/memory-hub/memory-write

memory-write

SKILL.md

Purpose

Write knowledge content to a bucket file and automatically update the topics.md knowledge index.

Input

  • bucket: pm | architect | dev | qa
  • file: filename within the bucket
  • --topic: topic name for topics.md index
  • --summary: one-line description for topics.md
  • --anchor (optional): anchor tag for topics.md reference
  • --mode (optional): append (default) or overwrite
  • Content via stdin

Required Flow

memory-hub write <bucket> <file> \
  --topic <name> --summary "<description>" \
  [--anchor <anchor>] [--mode append|overwrite] <<'EOF'
<markdown content>
EOF

Output

JSON envelope with data.bytes_written and write metadata.

Error Handling

  • INVALID_BUCKET → invalid bucket name
  • NO_INPUT → no stdin content provided
  • EMPTY_CONTENT → stdin content is empty
Weekly Installs
3
First Seen
Feb 26, 2026
Installed on
codex3
opencode2
gemini-cli2
antigravity2
claude-code2
github-copilot2