[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AAVZW76F6575MVHFDGW6MJ":3,"skill-same:01M7AAVZW76F6575MVHFDGW6MJ":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":5,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7AAVZW76F6575MVHFDGW6MJ","codex-usage-insights",null,"Analyze local Codex session logs over a selectable date range, summarize usage by skill, identify skills with no observed use, and generate an animated HTML report plus JSON data. Use when the user asks for Codex usage analytics, skill adoption reports, recent activity summaries, or a visual static dashboard generated with Python.","holooooo\u002Fcodex-skill-usage","holooooo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F16147105?v=4","01M7AAVY3NNZN2N91S7FSXJSY9","01M7AAVY4QTEW9FR2SFDR1X78K",0,"MIT","https:\u002F\u002Fgithub.com\u002Fholooooo\u002Fcodex-skill-usage\u002Fblob\u002Fmain\u002Fcodex-usage-insights\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: codex-usage-insights\ndescription: Analyze local Codex session logs over a selectable date range, summarize usage by skill, identify skills with no observed use, and generate an animated HTML report plus JSON data. Use when the user asks for Codex usage analytics, skill adoption reports, recent activity summaries, or a visual static dashboard generated with Python.\n---\n\n# Codex Usage Insights\n\nUse the bundled Python CLI to turn local Codex JSONL session logs into a\nportable report. The default window is the last seven calendar days; pass\n`--days`, or an inclusive `--start` and `--end`, when a different window is\nneeded.\n\n## Quick start\n\n```bash\npython3 \u002Fpath\u002Fto\u002Fcodex-usage-insights\u002Fscripts\u002Fcodex_usage_report.py\n```\n\nThe command writes an HTML file and, when `--data-output` is supplied, a JSON\nfile beside it. The page fetches that JSON when served over HTTP and keeps an\nembedded fallback for direct file previews. Use `--output` to choose another\nHTML path.\n\nWhen running in the Codex desktop app, after the command succeeds, prioritize\nshowing the generated report in the right sidebar browser before replying:\n\n```js\ncodex_app__open_in_codex({\n  placement: \"right\",\n  target: {\n    type: \"browser\",\n    url: \"file:\u002F\u002F\u002Fabsolute\u002Fpath\u002Fto\u002Fcodex-usage-insights\u002Freport.html\"\n  }\n})\n```\n\nUse the resolved absolute path and a URL-encoded `file:\u002F\u002F` URL. If the sidebar\nbrowser cannot open the local file, retry with the same path as a `type: \"file\"`\ntarget. In non-desktop environments, report the absolute output path instead;\ndo not open a separate system browser first.\n\n## Workflow\n\n1. Discover `.jsonl` files under `~\u002F.codex\u002Fsessions` and\n   `~\u002F.codex\u002Farchived_sessions` unless `--sessions-root` is supplied.\n2. Read event timestamps and user\u002Fassistant `response_item` content. Ignore\n   `session_meta`, `turn_context`, tool schemas, and system instructions.\n3. Detect explicit skill references (`$skill-name`, `\u002Fskill-name`, a\n   `skills\u002F\u003Cname>\u002FSKILL.md` path, or a known skill name in a user\u002Fassistant\n   message). Aggregate mentions, sessions, and first\u002Flast seen timestamps.\n4. Discover installed skills from the default Codex skill roots plus any\n   repeated `--skills-root` values. Match their frontmatter `name` values\n   against observed usage to produce `unused_skills`.\n5. Render the result through `assets\u002Freport.html`; preserve the report data\n   contract when customizing the visual layer.\n6. After a successful render, open the output in the Codex sidebar browser as\n   described above before returning the completion message.\n\n## Evidence and limits\n\nThe report is an observation of local JSONL logs, not a billing or server-side\nusage record. A skill is considered used only when its name is explicitly\nobservable in a message during the selected window. Tool calls that omit a\nskill name remain unclassified. The report always displays the source roots,\nfile count, and coverage window so the result is auditable.\n\n## Custom report data\n\nThe renderer consumes a single JSON object with `period`, `generated_at`,\n`totals`, `skill_usage`, `projects`, `unused_skills`, `timeline`, and `sources`\nfields. Each `timeline` item contains a `projects` map keyed by the stable\nproject ID; each project value contains `messages`, `sessions`, and a `skills`\ncounter. Keep these fields when replacing the template or adding a new\nrenderer so project\u002Fskill trend filters remain functional.\n","# Codex Usage Insights\n\nUse the bundled Python CLI to turn local Codex JSONL session logs into a\nportable report. The default window is the last seven calendar days; pass\n`--days`, or an inclusive `--start` and `--end`, when a different window is\nneeded.\n\n## Quick start\n\n```bash\npython3 \u002Fpath\u002Fto\u002Fcodex-usage-insights\u002Fscripts\u002Fcodex_usage_report.py\n```\n\nThe command writes an HTML file and, when `--data-output` is supplied, a JSON\nfile beside it. The page fetches that JSON when served over HTTP and keeps an\nembedded fallback for direct file previews. Use `--output` to choose another\nHTML path.\n\nWhen running in the Codex desktop app, after the command succeeds, prioritize\nshowing the generated report in the right sidebar browser before replying:\n\n```js\ncodex_app__open_in_codex({\n  placement: \"right\",\n  target: {\n    type: \"browser\",\n    url: \"file:\u002F\u002F\u002Fabsolute\u002Fpath\u002Fto\u002Fcodex-usage-insights\u002Freport.html\"\n  }\n})\n```\n\nUse the resolved absolute path and a URL-encoded `file:\u002F\u002F` URL. If the sidebar\nbrowser cannot open the local file, retry with the same path as a `type: \"file\"`\ntarget. In non-desktop environments, report the absolute output path instead;\ndo not open a separate system browser first.\n\n## Workflow\n\n1. Discover `.jsonl` files under `~\u002F.codex\u002Fsessions` and\n   `~\u002F.codex\u002Farchived_sessions` unless `--sessions-root` is supplied.\n2. Read event timestamps and user\u002Fassistant `response_item` content. Ignore\n   `session_meta`, `turn_context`, tool schemas, and system instructions.\n3. Detect explicit skill references (`$skill-name`, `\u002Fskill-name`, a\n   `skills\u002F\u003Cname>\u002FSKILL.md` path, or a known skill name in a user\u002Fassistant\n   message). Aggregate mentions, sessions, and first\u002Flast seen timestamps.\n4. Discover installed skills from the default Codex skill roots plus any\n   repeated `--skills-root` values. Match their frontmatter `name` values\n   against observed usage to produce `unused_skills`.\n5. Render the result through `assets\u002Freport.html`; preserve the report data\n   contract when customizing the visual layer.\n6. After a successful render, open the output in the Codex sidebar browser as\n   described above before returning the completion message.\n\n## Evidence and limits\n\nThe report is an observation of local JSONL logs, not a billing or server-side\nusage record. A skill is considered used only when its name is explicitly\nobservable in a message during the selected window. Tool calls that omit a\nskill name remain unclassified. The report always displays the source roots,\nfile count, and coverage window so the result is auditable.\n\n## Custom report data\n\nThe renderer consumes a single JSON object with `period`, `generated_at`,\n`totals`, `skill_usage`, `projects`, `unused_skills`, `timeline`, and `sources`\nfields. Each `timeline` item contains a `projects` map keyed by the stable\nproject ID; each project value contains `messages`, `sessions`, and a `skills`\ncounter. Keep these fields when replacing the template or adding a new\nrenderer so project\u002Fskill trend filters remain functional.\n",{"name":5,"description":7},"main","bf881eae882dde33eb8bca8d687f7fae18377a5a","https:\u002F\u002Fgithub.com\u002Fholooooo\u002Fcodex-skill-usage","https:\u002F\u002Fgithub.com\u002Fholooooo","social animal","2026-08-09 00:45:28",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add holooooo\u002Fcodex-skill-usage --skill codex-usage-insights",{"tool":35,"command":36},"bunx","bunx skills add holooooo\u002Fcodex-skill-usage --skill codex-usage-insights",{"tool":38,"command":39},"pnpm","pnpm dlx skills add holooooo\u002Fcodex-skill-usage --skill codex-usage-insights","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fholooooo\u002Fcodex-skill-usage\u002Fblob\u002Fmain\u002Fcodex-usage-insights\u002FSKILL.md",true,[43,49,55,59],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"agents\u002Fopenai.yaml","REFERENCE","参考文档",225,"https:\u002F\u002Fgithub.com\u002Fholooooo\u002Fcodex-skill-usage\u002Fblob\u002Fmain\u002Fcodex-usage-insights\u002Fagents\u002Fopenai.yaml",{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"assets\u002Fcodex-icon.png","ASSET","资产文件",42879,"https:\u002F\u002Fgithub.com\u002Fholooooo\u002Fcodex-skill-usage\u002Fblob\u002Fmain\u002Fcodex-usage-insights\u002Fassets\u002Fcodex-icon.png",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"assets\u002Freport.html",28507,"https:\u002F\u002Fgithub.com\u002Fholooooo\u002Fcodex-skill-usage\u002Fblob\u002Fmain\u002Fcodex-usage-insights\u002Fassets\u002Freport.html",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fcodex_usage_report.py","SCRIPT","脚本",17063,"https:\u002F\u002Fgithub.com\u002Fholooooo\u002Fcodex-skill-usage\u002Fblob\u002Fmain\u002Fcodex-usage-insights\u002Fscripts\u002Fcodex_usage_report.py",[66,73,80],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7AAW8885FWZVYDKZYB1GA6C","trace-lens","Inspect a small usage trend.","https:\u002F\u002Fgithub.com\u002Fholooooo\u002Fcodex-skill-usage\u002Fblob\u002Fmain\u002Fexamples\u002Fdemo_skills\u002Ftrace-lens\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7AAW6N38E368S0BD5KA2A7C","quiet-index","A deliberately unused demo skill.","https:\u002F\u002Fgithub.com\u002Fholooooo\u002Fcodex-skill-usage\u002Fblob\u002Fmain\u002Fexamples\u002Fdemo_skills\u002Fquiet-index\u002FSKILL.md",[],[],{"skillNo":81,"name":5,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7AAW3K45WFNZMJ9SG7TPZMJ","Build a local Codex usage report.","https:\u002F\u002Fgithub.com\u002Fholooooo\u002Fcodex-skill-usage\u002Fblob\u002Fmain\u002Fexamples\u002Fdemo_skills\u002Fcodex-usage-insights\u002FSKILL.md",[],[]]