Transfer

From arjunrajlaboratory/mycelium · View interactive version

Transfer is an AI agent skill from the GitHub repository arjunrajlaboratory/mycelium. Cross-pollinate learnings across Science subprojects by scanning recent .living/learnings.md entries and identifying actionable knowledge transfers. Use when user says "transfer knowledge", "cross-pollinate", "sync learnings", or "knowledge transfer".

How to use this skill

Skill file

Mycelium — Knowledge Transfer

Resolve bundled skills/ paths relative to the Mycelium plugin root (two

directories above this SKILL.md). Resolve project and .living/ paths

relative to the repositories being scanned.

Scan recent learnings across all subprojects, identify actionable cross-pollination opportunities, and automatically apply transfers to target projects' .living/learnings.md files. Generates an audit report afterward. This command is designed to run AS a subagent (background task), not in the main context.

Total runtime target: <2 minutes.

Steps

1. Inventory projects

Glob for all .living/learnings.md files under the meta-project root:

find {meta-project-root} -path "*/.living/learnings.md" -not -path "*/node_modules/*"

The meta-project is found by walking up from the current repo to find the nearest parent directory that contains a .living/ folder. If the current directory IS the meta-project (e.g., Science/), use it directly.

List all subproject learnings files found. The meta-project's own .living/learnings.md is the baseline of already-transferred knowledge — treat it separately.

2. Read recent learnings (context-efficient)

# For each subproject:
tail -80 {subproject}/.living/learnings.md

# For meta-project baseline:
tail -100 {meta-project}/.living/learnings.md

3. Cross-reference for transfer opportunities

For each recent learning in each subproject, evaluate:

Focus ONLY on actionable transfers:

IGNORE:

4. Apply transfers

For each identified transfer, automatically append the learning to the target project's .living/learnings.md using the learning entry template format. Derive mitigation_type by the rule in skills/core/templates/learning-entry.md: structural if a shipped test, assertion, type constraint, frozenset, or schema validation enforces it; otherwise convention if a .living/conventions.md entry covers it; otherwise ambient-awareness. Judge enforcement in the target project (see the rules below):

### [YYYY-MM-DD] [Short Learning Title]

**Category**: [gotcha|edge-case|insight|failure|tip]

**What happened**: [Adapted description — rewritten for the target project's context, not copy-pasted verbatim from source]

**Why it matters**: [Why this is relevant to THIS project specifically]

**Resolution**: [The fix or pattern to apply]

**Tags**: [relevant, tags, for, searchability]

**mitigation_type**: [structural|convention|ambient-awareness — derived in the target, see below]

**structural_mitigation_candidate**: [The concrete test or check that would catch this in the target project, adapted from the source's]

source: [source project name] (auto-transferred by mycelium)

Transfer rules:

5. Generate report

Write an audit report to:

{meta-project}/.living/outputs/knowledge-transfers/YYYY-MM-DD.md

Use the template at skills/core/templates/knowledge-transfer-report.md.

If the output directory does not exist, create it:

mkdir -p {meta-project}/.living/outputs/knowledge-transfers/

The report serves as an audit trail of what was transferred and why. It is written AFTER transfers are applied.

Report constraints:

6. Update timestamp

date -u +"%Y-%m-%dT%H:%M:%SZ" > {meta-project}/.living/outputs/knowledge-transfers/.last-run

Constraints

When this runs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.