Ops-workflow update
Process external information into the ops repo's knowledge base. Drop files in .update/ or pass content inline. Use when you have new information (research, status changes, reference material, deliverables) to integrate into the project's structured knowledge system.
git clone https://github.com/OdinMB/ops-workflow
T=$(mktemp -d) && git clone --depth=1 https://github.com/OdinMB/ops-workflow "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/update" ~/.claude/skills/odinmb-ops-workflow-update && rm -rf "$T"
skills/update/SKILL.mdUpdate
Ingest external information into this ops repo's knowledge base. Two modes depending on whether arguments are provided.
Detect Mode
- If
is non-empty → Inline mode: the arguments contain the information to integrate.$ARGUMENTS - If
is empty or blank → Inbox mode: process files from$ARGUMENTS
..update/
Inline Mode
The user provided content directly: $ARGUMENTS
-
Load context. Read
andCLAUDE.md
to understand the repo structure, goals, and current state.MEMORY.md -
Classify the information. Determine what kind of knowledge this is:
- Status update → belongs in
state/ - Research / reference material → belongs in
references/ - Actionable opportunity or task → belongs in
backlog/ - Deliverable or work product → belongs in
artifacts/ - Strategic insight → may also warrant a MEMORY.md Key Learnings update
- Mixed → split into appropriate destinations
- Status update → belongs in
-
Integrate. For each piece of information:
- Read the target file first — never overwrite blindly. Merge or append.
- When updating state files, update the
line._Last updated: YYYY-MM-DD_ - When adding backlog items, insert in priority order (highest first), not at the end.
- If placement is genuinely ambiguous, ask the user before proceeding.
-
INDEX.md cascade. For every file created or significantly changed, update that folder's
. If the folder's overall summary changed, cascade to the parentINDEX.md
.INDEX.md -
MEMORY.md check. If the information shifts the project's strategic understanding — a new constraint, a key learning, a changed goal — add or update an entry under Key Learnings. Don't add specific data points (those belong in state/references); only add general insights.
-
Summarize. Tell the user what was placed where.
Inbox Mode
Process all files in the
.update/ directory.
-
Load context. Read
andCLAUDE.md
.MEMORY.md -
List files. Check
for files (skip.update/
). If empty, tell the user "No files in.gitkeep
to process" and stop..update/ -
Process each file. For each file in
:.update/a. Read and understand the file's contents. Consider the filename, format, and content to determine what it is.
b. Classify — same categories as inline mode (status update, research, task, deliverable, mixed).
c. Extract and integrate relevant information into the knowledge base:
- Create or update files in
,state/
,references/
, orbacklog/
as appropriate.artifacts/ - Read target files before writing — merge, don't overwrite.
- Update
dates on state files._Last updated:_ - Insert backlog items in priority order.
d. INDEX.md cascade — update every affected INDEX.md.
e. Dispose of the source file:
- Delete if all useful information has been extracted into structured knowledge (the common case — raw notes, status emails, data dumps).
- Move to
if the file itself is a useful reference to keep (e.g., a PDF report, a detailed analysis document).references/ - Move to
if the file is a deliverable or work product (e.g., a submitted application, a finalized spec). Date-prefix it if it's been delivered.artifacts/ - If unsure whether to keep or delete, ask the user.
- Create or update files in
-
MEMORY.md check — same as inline mode. Update Key Learnings if warranted.
-
Summarize. List each file processed, where its information was placed, and whether the file was deleted or moved.
Rules
- State vs. backlog separation — facts about current reality go in
. Actions and opportunities go instate/
. Don't mix them.backlog/ - Don't duplicate — before creating a new file, check if an existing file already covers that topic. Extend the existing file rather than creating a parallel one.
- Preserve structure — follow the repo's existing organizational patterns. If grants info lives in
, new grant research goes there too.references/grants/ - Cite sources — if the incoming information references external sources (URLs, documents, people), preserve those citations in the integrated output.
- Be conservative with MEMORY.md — most updates don't warrant a Key Learnings entry. Only add entries that change the project's strategic understanding.