Maintains a historical index of all cross-project knowledge transfers for this project
Maintains a historical index of all cross-project knowledge transfers for this project. Tracks inbound and outbound transfers with status, source/target projects, dates, and routing decisions. Provides analytics on transfer patterns across sessions.Let CWK-026 and CWK-027 call this recipe automatically during their pipelines. Use report mode to check transfer activity before starting cross-project work. Use rebuild mode if the registry file is missing, corrupted, or out of sync with the actual packet files.
Cross-Project Transfer Registry
TL;DR
How To Start
STEP 1Choose the Mode
-
mode
· string · optional · default: report · options: update, report, rebuild
“update” adds or updates a single transfer entry. “report” displays the transfer summary. “rebuild” scans transfers/ and reconstructs the index from packet files. -
transfer_id
· string · optional
Transfer ID to update. Required when mode is “update.” Format: XFER-{SOURCE}-TO-{TARGET}-{DATE}-{SEQ}. -
direction
· string · optional · options: inbound, outbound
Direction of the transfer. Required when mode is “update.” Determines which aggregate counts are incremented.
Usage Examples
How AI Reads This Recipe
- DETERMINE MODE. Check the mode parameter: “update” proceeds to entry update, “report” proceeds to summary display, “rebuild” proceeds to full reconstruction. Default is “report.”
- UPDATE REGISTRY (mode=“update”). Read the registry file. If it does not exist, initialize an empty structure. Parse existing data. Create a new entry from the transfer packet metadata: transfer_id, direction, source, target, date, item_type, item_title, status, LL assignment, roadmap task. Update aggregate counts by direction. Append to recent_transfers (cap at 20). Update last_modified. Write back.
- REPORT (mode=“report”). Read the registry file. If missing, report that no transfers have been recorded. Display: inbound totals with accepted/deferred/rejected breakdown and by-source counts, outbound totals with by-target counts, table of the 10 most recent transfers (date, direction, peer, title, status).
- REBUILD (mode=“rebuild”). Initialize empty registry. Scan transfers/outbound/ for XFER-*.txt and parse metadata. Scan transfers/inbound/processed/ and parse metadata plus TRANSFER_RESPONSE status. Scan transfers/inbound/pending/ for unprocessed packets (status PENDING). Sort recent_transfers by date descending. Compute total_transfers. Write rebuilt registry.
When to Use This Recipe
- Want to see a summary of all cross-project knowledge transfers for this project (report mode).
- Have just exported or imported a transfer and need to update the registry (update mode — usually called automatically).
- Suspect the registry is out of sync with actual transfer files and need to rebuild it (rebuild mode).
- Need analytics on transfer patterns — which projects you exchange knowledge with most, acceptance rates, transfer volume.
Recipe FAQ
Q.What are the three modes?
Q.How does the registry file persist across sessions?
Q.What does the recent_transfers list track?
Q.When should I use rebuild mode?
Q.Is the registry automatically updated?
Q.What counts does the registry track?
Version History
Get this recipe with CRAFT for Claude Cowork
Cowork recipes ship bundled with CRAFT for Claude Cowork — there’s no separate download. Clone the framework once, and your AI runs every recipe automatically when invoked.
Pull anytime to stay on the latest version — free to clone, no login or email required.
Then start your session
Once CRAFT is in your project folder, open a new Cowork session and ask Claude to initialize. For example:
You
Claude
Not familiar with Git? Download as a ZIP
No command line needed. Just download, move, and unzip:
- Open the CRAFT framework repo on GitHub.
- Click the green Code button, then choose Download ZIP.
- Move the downloaded ZIP into your Claude Cowork project folder.
- Unzip it: double-click on Mac, or right-click → Extract All on Windows.
