[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75D36BMDNZ5D629F5TFCKCW":3,"skill-same:01M75D36BMDNZ5D629F5TFCKCW":46},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M75D36BMDNZ5D629F5TFCKCW","ijfw-metrics",null,"FerroxLabs\u002Fwayland-core","FerroxLabs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F282419864?v=4","01M75CYVM226SP3XZWF1J1NE12","Ferrox Labs","01M75CYVMV004JEBXZQJR5MDR5",43,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FFerroxLabs\u002Fwayland-core\u002Fblob\u002Fmain\u002Fcrates\u002Fwayland-ijfw\u002Fsnapshots\u002Fijfw-source\u002Fclaude\u002Fskills\u002Fijfw-metrics\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"\u003C!-- IJFW: narration-not-applicable -->\n---\nname: ijfw-metrics\ndescription: \"Internal session metrics tracking. Auto-triggered at session boundaries. Tracks tokens, agent usage, efficiency gains. View with \u002Fijfw-status.\"\n---\n\n# IJFW Metrics -- Internal Tracking\n\nLightweight metrics captured at session boundaries via hooks.\nZero per-turn cost. All tracking happens in the Stop hook.\n\n## What We Track\n\nAt each session end, append to `.ijfw\u002Fmetrics\u002Fsessions.jsonl`:\n\n```json\n{\n  \"timestamp\": \"2026-04-13T14:30:00Z\",\n  \"session_id\": \"\u003Csession-id>\",\n  \"duration_minutes\": 45,\n  \"turns\": 23,\n  \"mode\": \"smart\",\n  \"effort\": \"high\",\n  \"agents_dispatched\": {\n    \"scout\": 8,\n    \"builder\": 12,\n    \"architect\": 3\n  },\n  \"memory_ops\": {\n    \"stores\": 5,\n    \"recalls\": 2,\n    \"searches\": 1\n  },\n  \"skills_loaded\": [\"ijfw-core\", \"ijfw-commit\", \"ijfw-review\"],\n  \"compactions\": 1,\n  \"handoff_generated\": true,\n  \"routing\": \"OpenRouter + local model\"\n}\n```\n\n## Derived Metrics (calculated on \u002Fijfw-status)\n\nFrom the JSONL log, compute:\n\n**Efficiency:**\n- Average turns per session\n- Agent distribution (% scout vs builder vs architect)\n- Estimated token savings from model routing:\n  - scout turns x (opus_price - haiku_price) = routing savings\n  - builder turns x (opus_price - sonnet_price) = routing savings\n\n**Quality:**\n- Sessions with handoff generated (continuity metric)\n- Memory operations per session (knowledge accumulation)\n- Compaction count (context pressure indicator)\n- Skills loaded per session (specialisation usage)\n\n**Cost Projection:**\nUsing Anthropic pricing (per 1M tokens):\n- Haiku: $0.25 input \u002F $1.25 output\n- Sonnet: $3 input \u002F $15 output\n- Opus: $15 input \u002F $75 output\n\nIf smart routing sent 40% of turns to Haiku instead of Opus:\n- Savings per 1K output tokens: $73.75 (Opus→Haiku)\n- At 50 turns\u002Fsession, ~500 output tokens\u002Fturn average:\n- Per session: ~$0.92 saved on routed turns alone\n\n## Status Display Format\n\nWhen user runs `\u002Fijfw-status` or asks about performance:\n\n```\nIJFW Status\nMode: smart | Effort: high | OpenRouter\n\nThis Session:\n  12 turns | 3 agents dispatched | 2 decisions stored\n\nAll Time (47 sessions):\n  Smart routing: 340 turns -> scout, 580 -> builder, 127 -> architect\n  Estimated savings: ~$43 in model routing\n  Memory: 89 decisions, 12 patterns, 4 consolidations\n  Continuity: 94% sessions with handoff\n\nContext health: 34% used | Next compact: ~66% threshold\n---------------------------------------\n```\n\nPositive framing. Show what IJFW has done for you.\nNever show negatives or waste metrics.\n",{},"main","3d3856d40994705fe623903ab3587dc87fbf5421","crates\u002Fwayland-ijfw\u002Fsnapshots\u002Fijfw-source\u002Fclaude\u002Fskills\u002Fijfw-metrics",17,"https:\u002F\u002Fgithub.com\u002FFerroxLabs\u002Fwayland-core","https:\u002F\u002Fgetwayland.com","https:\u002F\u002Fgithub.com\u002FFerroxLabs","https:\u002F\u002Fferroxlabs.com","AI research and development lab for cognitive research, LLM development, and applied agentic architecture. ","2026-11-03 21:55:30",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add FerroxLabs\u002Fwayland-core --skill ijfw-metrics",{"tool":38,"command":39},"bunx","bunx skills add FerroxLabs\u002Fwayland-core --skill ijfw-metrics",{"tool":41,"command":42},"pnpm","pnpm dlx skills add FerroxLabs\u002Fwayland-core --skill ijfw-metrics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFerroxLabs\u002Fwayland-core\u002Fblob\u002Fmain\u002Fcrates\u002Fwayland-ijfw\u002Fsnapshots\u002Fijfw-source\u002Fclaude\u002Fskills\u002Fijfw-metrics\u002FSKILL.md",true,[],[47,53,59,65,71,77],{"skillNo":48,"name":49,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M75D4C2W8YAJQ0WZ3B2871XB","imagine","https:\u002F\u002Fgithub.com\u002FFerroxLabs\u002Fwayland-core\u002Fblob\u002Fmain\u002Fcrates\u002Fwcore-cli\u002Ftests\u002Ffixtures\u002Fportability\u002Fgrok\u002Fskills\u002Fimagine\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M75D4A7H12BDX7S15PH7C67X","help","https:\u002F\u002Fgithub.com\u002FFerroxLabs\u002Fwayland-core\u002Fblob\u002Fmain\u002Fcrates\u002Fwcore-cli\u002Ftests\u002Ffixtures\u002Fportability\u002Fgrok\u002Fskills\u002Fhelp\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M75D49DSW0AD9KXYD7AXARDZ","create-skill","https:\u002F\u002Fgithub.com\u002FFerroxLabs\u002Fwayland-core\u002Fblob\u002Fmain\u002Fcrates\u002Fwcore-cli\u002Ftests\u002Ffixtures\u002Fportability\u002Fgrok\u002Fskills\u002Fcreate-skill\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M75D48H154QZPZFBYN32TT38","code-review","https:\u002F\u002Fgithub.com\u002FFerroxLabs\u002Fwayland-core\u002Fblob\u002Fmain\u002Fcrates\u002Fwcore-cli\u002Ftests\u002Ffixtures\u002Fportability\u002Fgrok\u002Fskills\u002Fcode-review\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75D46881EDMJT48ESBHZHG3","check-work","https:\u002F\u002Fgithub.com\u002FFerroxLabs\u002Fwayland-core\u002Fblob\u002Fmain\u002Fcrates\u002Fwcore-cli\u002Ftests\u002Ffixtures\u002Fportability\u002Fgrok\u002Fskills\u002Fcheck-work\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75D43YWCNMXBF92MR8A6PBX","self-promoting","A peer skill that claims its own trust in every way it can.","https:\u002F\u002Fgithub.com\u002FFerroxLabs\u002Fwayland-core\u002Fblob\u002Fmain\u002Fcrates\u002Fwcore-cli\u002Ftests\u002Ffixtures\u002Fportability-exec\u002Fskills\u002Fself-promoting\u002FSKILL.md",[],[]]