본문으로 건너뛰기
cccskills
무료GitHub에 공개

memex-kb

Search, read, create, edit, and maintain knowledge in a Memex KB via the `mx` CLI. Use when the user asks to search the KB, find documentation, check project or organizational docs, add or update knowledge-base entries, audit KB quality, or when reusable knowledge should be captured for future agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(4)

  • SKILL.md4.6 KB
  • agents/openai.yaml202 B
  • references/categories.md1.3 KB
  • references/entry-format.md1.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Memex KB Workflow

Use mx as the source of truth for KB state. From a repo checkout, prefix commands with uv run.

First Commands

Before writing or assuming paths:

mx prime
mx info
mx context show
mx context validate
mx categories

Use explicit scope when both KBs are active:

mx categories --scope=project
mx categories --scope=user

Check these before creating entries:

  • active KBs and default write directory
  • valid categories/directories
  • whether paths need @project/... or @user/...

Search First

Search before answering from memory or creating content:

mx search "query"
mx search "query" --mode=keyword
mx search "query" --mode=semantic
mx search "query" --include-neighbors
mx search "query" --content
mx search "query" --parents=nearest
mx get @project/path/to/entry.md
mx get --title="Entry Title"

Use keyword mode for exact strings, filenames, command names, or errors. Use semantic mode for conceptual matches. Use --scope=project|user when mixing team and personal KBs would be confusing. In nested project KBs, parent KBs are opt-in for search; use --parents=nearest when shared parent workspace knowledge may matter. Parent results may appear as @parent/... or a configured parent scope like @agents/...; use those exact paths with mx get.

Write Deliberately

Prefer updating an existing entry, then appending to a log/note, then creating a new page. Choose scope by audience: project for shared repo/team knowledge, user for personal notes.

Useful write commands:

mx add --title="..." --tags="..." --category=guides --scope=project --content="..."
mx quick-add --content="..."
mx ingest notes.md --directory=guides --scope=project
mx patch @project/path.md --find="old" --replace="new"
mx append "Entry Title" --content="new section"
mx replace @user/path.md --content="full replacement"

Notes:

  • mx add and mx ingest support --scope=project|user; mx quick-add does not.
  • If .kbconfig has no primary, pass --category explicitly.
  • Use mx tags before inventing new tags.
  • After creating, run mx get <path> and consider mx suggest-links <path>.

Session Handoffs

For substantial work another agent may continue, keep a concise handoff:

mx sessions start --goal="..." --harness=codex
mx sessions append --latest --summary="What changed, files touched, tests run, blockers" --files=path
mx sessions append --latest --summary="Linked transcript" --transcript=/path/to/session.jsonl
mx sessions finish --latest --summary="Final state and remaining next steps"
mx sessions recent

Use mx sessions hook <claude|codex> --instructions, --print, or --install for harness hooks; add --turns N for periodic session-log reminders. Store summaries and next steps, not full transcripts or secrets. Store transcript paths with --transcript, not transcript content.

Relations And Health

mx relations path.md --depth=2
mx relations-add path.md --relation "other.md=documents"
mx relations-remove path.md --relation "other.md=documents"
mx relations-lint
mx health
mx whats-new --days=7
mx hubs
mx doctor --timestamps
mx doctor --timestamps --fix

Run health checks after meaningful writes or when auditing stale content, broken links, orphaned entries, relation type drift, or timestamp issues.

Details Live Elsewhere

Do not maintain a second copy of the CLI or schema inside this skill.

Read when needed:

  • kb/reference/cli.md for current command options and JSON output shapes
  • kb/reference/entry-format.md for frontmatter, links, semantic links, and typed relations
  • kb/guides/quick-start.md for onboarding flow and category conventions in the current repo
  • kb/design/relations-graph/relations-graph-overview.md when relation traversal or publish behavior matters

Avoid

  • adding a new entry before searching for an existing one
  • assuming unscoped paths target the intended KB when multiple scopes are active
  • assuming a nested KB search includes parent KB results without parent_kbs: nearest or --parents=nearest
  • hard-coding categories from another repo
  • using mx quick-add when you need explicit scope
  • using mx replace when mx patch or mx append would preserve more context
  • creating personal scratch notes in the project KB
  • inventing new tags without checking mx tags

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고