[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X7MMM2MQTB1CWT45DXRAAQ":3,"skill-same:01M6X7MMM2MQTB1CWT45DXRAAQ":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":68},"01M6X7MMM2MQTB1CWT45DXRAAQ","trajectory-logging",null,"ATIF trajectory serialization with ring buffer for post-hoc debugging, eval dataset construction, and regression detection.","Cheggin\u002Frequest-for-startups","Cheggin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F79483996?v=4","01M6X6MGT5512GJHE8DY5B1ZQJ","Reagan Hsu","01M6X6MGY03X7ZJNVRFM3R1040",1,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Ftrajectory-logging\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"trajectory logging","logging","trajectory","dataset","improvement","for","buffer","true","with","post","orchestration","eval","regression","detection","continuous-improvement","serialization","framework","debugging","2026-11-10 10:12:30",false,"---\nname: trajectory-logging\ndescription: ATIF trajectory serialization with ring buffer for post-hoc debugging, eval dataset construction, and regression detection.\nuser-invocable: true\ngroup: orchestration\nprerequisites: []\nnext: [eval-framework]\nworkflows: [continuous-improvement]\n---\n\n# Trajectory Logging\n\nLog every agent action as structured JSON using the ATIF (Agent Trajectory and Interaction Format) schema. Use a ring buffer to prevent disk exhaustion. Trajectory logs enable post-hoc debugging, eval dataset construction, and regression detection.\n\n## Steps\n\n1. Define the trajectory entry schema: structured JSON with fields for tool name, parameters, result, decision rationale, timestamp, agent ID, and session ID.\n2. Capture every tool invocation and result via a PostToolUse hook. Write entries to `.harness\u002Ftrajectories\u002F{agent-id}-{session-id}.jsonl`.\n3. Implement a ring buffer capped at 50K entries per file. When full, overwrite the oldest entries.\n4. Record session metadata at the start of each file: agent ID, task ID, mode, start time. Update with end time and summary statistics on session completion.\n5. Provide an eval dataset export tool that extracts trajectories into a format compatible with the eval-framework skill.\n6. Implement regression detection: compare trajectories across runs for the same task. Flag behavioral changes (e.g., deploy task now takes 15 tool calls instead of 8).\n7. Provide a trajectory search tool to query for specific actions, errors, or patterns across logs.\n8. Automatically prune trajectory files older than a configurable retention period.\n\n## Anti-Patterns\n\n- Unstructured text logs with no consistent schema, making them impossible to query or compare\n- No ring buffer -- a long-running agent fills 2GB of disk before anyone notices\n- Trajectories written but never queried, providing no debugging value\n- Regression detection comparing unrelated sessions, producing false positives\n\n## Validation\n\n- Every tool invocation produces a valid JSON trajectory entry with all schema fields\n- Ring buffer caps at 50K entries and file size stays bounded\n- Regression detection flags significant changes in tool call count or sequence for the same task\n- Trajectory search returns results for known actions and error patterns\n","# Trajectory Logging\n\nLog every agent action as structured JSON using the ATIF (Agent Trajectory and Interaction Format) schema. Use a ring buffer to prevent disk exhaustion. Trajectory logs enable post-hoc debugging, eval dataset construction, and regression detection.\n\n## Steps\n\n1. Define the trajectory entry schema: structured JSON with fields for tool name, parameters, result, decision rationale, timestamp, agent ID, and session ID.\n2. Capture every tool invocation and result via a PostToolUse hook. Write entries to `.harness\u002Ftrajectories\u002F{agent-id}-{session-id}.jsonl`.\n3. Implement a ring buffer capped at 50K entries per file. When full, overwrite the oldest entries.\n4. Record session metadata at the start of each file: agent ID, task ID, mode, start time. Update with end time and summary statistics on session completion.\n5. Provide an eval dataset export tool that extracts trajectories into a format compatible with the eval-framework skill.\n6. Implement regression detection: compare trajectories across runs for the same task. Flag behavioral changes (e.g., deploy task now takes 15 tool calls instead of 8).\n7. Provide a trajectory search tool to query for specific actions, errors, or patterns across logs.\n8. Automatically prune trajectory files older than a configurable retention period.\n\n## Anti-Patterns\n\n- Unstructured text logs with no consistent schema, making them impossible to query or compare\n- No ring buffer -- a long-running agent fills 2GB of disk before anyone notices\n- Trajectories written but never queried, providing no debugging value\n- Regression detection comparing unrelated sessions, producing false positives\n\n## Validation\n\n- Every tool invocation produces a valid JSON trajectory entry with all schema fields\n- Ring buffer caps at 50K entries and file size stays bounded\n- Regression detection flags significant changes in tool call count or sequence for the same task\n- Trajectory search returns results for known actions and error patterns\n",{"name":5,"next":42,"group":29,"workflows":44,"description":7,"prerequisites":45,"user-invocable":46},[43],"eval-framework",[33],[],true,"main","92dddf7f6e7b55d1424795ce11586b05dba9d8c8","skills\u002Ftrajectory-logging",3,"https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups","https:\u002F\u002Fgithub.com\u002FCheggin","reaganhsu.com","MTS @datacurve-ai, prev. founding eng @browser-use ","2026-04-24 08:33:47",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":46},[58,61,64],{"tool":59,"command":60},"npx","npx skills add Cheggin\u002Frequest-for-startups --skill trajectory-logging",{"tool":62,"command":63},"bunx","bunx skills add Cheggin\u002Frequest-for-startups --skill trajectory-logging",{"tool":65,"command":66},"pnpm","pnpm dlx skills add Cheggin\u002Frequest-for-startups --skill trajectory-logging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Ftrajectory-logging\u002FSKILL.md",[],[70,93,113,140,155,170],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":37},"01M6X7PHK069RZH25A3RXN5049","writer-memory","Agentic memory system for writers - track characters, relationships, scenes, and themes","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fwriter-memory\u002FSKILL.md",[],[77,78,79,80,81,82,24,83,84,85,86,87,88,89,90,91,92],"memory","writer","writer memory","system","characters","track","themes","memory system","scenes","relationships","query","export","status","validate","init","agentic",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":37},"01M6X7PC3G9228Z323X5YAKTVW","wiki","LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fwiki\u002FSKILL.md",[],[95,100,101,102,103,104,105,106,107,108,109,110,111,87,112],"wiki lint","knowledge","model","llm wiki","markdown","wiki query","knowledge base","lint","sessions","karpathy","add","across","base",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":37},"01M6X7P5XFW5C16H3JE4NFQ7MF","website-creation","Build production-quality SaaS websites with opinionated design presets. Use when creating any startup website. The user MUST pick a design style before building. Enforces shadcn\u002Fui, Figma design principles, specific CSS values per style, and anti-AI-writing. Load alongside anti-ai-writing skill. LIGHT MODE ONLY.","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-creation\u002FSKILL.md",[],[120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139],"website creation","website","creation","when","design style","mode","brand-guidelines","full","ui","writing","design principles","only","pick","polish","audit","shadcn","figma","css","Anti-AI","design",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":37},"01M6X7P3PCEAKA2SBETXHHTNBA","visual-verdict","Structured visual QA verdict for screenshot-to-reference comparisons","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-verdict\u002FSKILL.md",[],[147,148,149,24,150,151,152,153,154],"visual verdict","verdict","visual","visual qa","structured","reference","screenshot","qa",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":37},"01M6X7NXEWWC4NFT0ZK1RRSGES","visual-qa-pipeline","Screenshot every page with Playwright, feed to visual QA agent for design evaluation, report results to Slack. Use after every build phase to verify UI matches the chosen design preset. Integrates with the Playwright skill and the website-creation preset system.","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-qa-pipeline\u002FSKILL.md",[],[149,162,150,154,163,164,115,122,127,165,133,166,128,121,153,24,167,139,168,169],"pipeline","visual qa pipeline","slack","page","Evaluation","review","verify ui","phase",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":37},"01M6X7NSNW00RQ8J531F52YHV9","verify","Verify that a change really works before you claim completion","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[172,177,26,178,179,180,162,181,182],"deploy-pipeline","you","claim","quality","deploy","change"]