compress
Compress a memory/context file into terse form. Saves ~40-50% tokens per session. Usage: /compress <filepath>
Dream cycle -- promote patterns, prune stale, reconcile contradictions, optionally promote to global.
$ npx -y skills add FerroxLabs/ijfw --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/consolidateContext preview
What this command does when you run it.
Dream cycle -- promote patterns, prune stale, reconcile contradictions, optionally promote to global.
name: consolidate description: "Dream cycle -- promote patterns, prune stale, reconcile contradictions, optionally promote to global."
Run the IJFW dream cycle on project memory using the architect agent.
Scan the journal for entries that meet the **promotion threshold**:
For each qualifying pattern, write a structured entry to knowledge.md:
--- type: pattern summary: <1-line> stored: <ISO timestamp> tags: [derived, from, content] --- <consolidated statement> **Why:** <extracted rationale> **How to apply:** <extracted guidance>
Detect pairs of entries where a later statement supersedes an earlier one (e.g., "use REST" followed later by "migrated to GraphQL"). For each:
`.ijfw/sessions/archive/journal-<YYYY-MM>.md`, remove from active journal.
If a pattern is referenced in **>=3 different projects** (via global-knowledge namespace inspection) OR the user explicitly flags it with `globalize: true`:
axis → preferences; reusable solution → patterns; tool/framework knowledge → stack; "never do this" → anti-patterns; hard-won insight → lessons.
Dream cycle complete. [ok] Promoted N patterns to knowledge [ok] Reconciled N contradictions (M superseded) [ok] Archived N stale entries [ok] Knowledge base: N entries (P tokens) [ok] Global promoted: N entries (if any)
No "Warning:" lines. No "Failed to..." -- if a step couldn't run (e.g. journal missing), silently skip and omit from the report.
IJFW — It Just F*cking Works. Ferrox Labs' local-first infrastructure for AI coding agents: shared memory, smart routing, multi-AI cross-audits, disciplined workflow.
Repo: FerroxLabs/ijfw
Compress a memory/context file into terse form. Saves ~40-50% tokens per session. Usage: /compress <filepath>
Second-model review. Picks an auditor (codex/gemini/opencode/aider/copilot), excludes the caller, writes a prompt to paste, reads the response back. Usage:…
Adversarial multi-angle critique. All three auditors fire in parallel (codex=technical, gemini=strategic, claude=ux). Counter-args ranked by rebuttal survival…
Two-phase multi-model research. Phase A fans codex+gemini in parallel (benchmarks + citations angles); Phase B synthesises via fresh Claude session. Usage:…
Run IJFW health check (files, MCP server, hooks, memory, caps, framing)