[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72AT4Y8Z2G4XCGDDJ45328V":3,"skill-same:01M72AT4Y8Z2G4XCGDDJ45328V":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"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":45,"commitSha":46,"skillDirectory":47,"forksCount":13,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M72AT4Y8Z2G4XCGDDJ45328V","freeze",null,"Restrict file edits to a specific directory for the session. (gstack)","hyunn9799\u002FFinSight_Guard","hyunn9799","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235325123?v=4","01M72AN1Q2FMPYWC2PFBW5FZBY","01M72AN1QPPZAZ55AKTB2XT0VK",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgstack\u002Ffreeze\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: freeze\nversion: 0.1.0\ndescription: Restrict file edits to a specific directory for the session. (gstack)\ntriggers:\n  - freeze edits to directory\n  - lock editing scope\n  - restrict file changes\nallowed-tools:\n  - Bash\n  - Read\n  - AskUserQuestion\nhooks:\n  PreToolUse:\n    - matcher: \"Edit\"\n      hooks:\n        - type: command\n          command: \"bash $HOME\u002F.claude\u002Fskills\u002Fgstack\u002Ffreeze\u002Fbin\u002Fcheck-freeze.sh\"\n          statusMessage: \"Checking freeze boundary...\"\n    - matcher: \"Write\"\n      hooks:\n        - type: command\n          command: \"bash $HOME\u002F.claude\u002Fskills\u002Fgstack\u002Ffreeze\u002Fbin\u002Fcheck-freeze.sh\"\n          statusMessage: \"Checking freeze boundary...\"\n---\n\u003C!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->\n\u003C!-- Regenerate: bun run gen:skill-docs -->\n\n\n## When to invoke this skill\n\nBlocks Edit and\nWrite outside the allowed path. Use when debugging to prevent accidentally\n\"fixing\" unrelated code, or when you want to scope changes to one module.\nUse when asked to \"freeze\", \"restrict edits\", \"only edit this folder\",\nor \"lock down edits\".\n\n# \u002Ffreeze — Restrict Edits to a Directory\n\nLock file edits to a specific directory. Any Edit or Write operation targeting\na file outside the allowed path will be **blocked** (not just warned).\n\n```bash\nmkdir -p ~\u002F.gstack\u002Fanalytics\necho '{\"skill\":\"freeze\",\"ts\":\"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'\",\"repo\":\"'$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull)\" 2>\u002Fdev\u002Fnull || echo \"unknown\")'\"}'  >> ~\u002F.gstack\u002Fanalytics\u002Fskill-usage.jsonl 2>\u002Fdev\u002Fnull || true\n```\n\n## Setup\n\nAsk the user which directory to restrict edits to. Use AskUserQuestion:\n\n- Question: \"Which directory should I restrict edits to? Files outside this path will be blocked from editing.\"\n- Text input (not multiple choice) — the user types a path.\n\nOnce the user provides a directory path:\n\n1. Resolve it to an absolute path:\n```bash\nFREEZE_DIR=$(cd \"\u003Cuser-provided-path>\" 2>\u002Fdev\u002Fnull && pwd)\necho \"$FREEZE_DIR\"\n```\n\n2. Ensure trailing slash and save to the freeze state file:\n```bash\nFREEZE_DIR=\"${FREEZE_DIR%\u002F}\u002F\"\neval \"$(~\u002F.claude\u002Fskills\u002Fgstack\u002Fbin\u002Fgstack-paths)\"\nSTATE_DIR=\"$GSTACK_STATE_ROOT\"\nmkdir -p \"$STATE_DIR\"\necho \"$FREEZE_DIR\" > \"$STATE_DIR\u002Ffreeze-dir.txt\"\necho \"Freeze boundary set: $FREEZE_DIR\"\n```\n\nTell the user: \"Edits are now restricted to `\u003Cpath>\u002F`. Any Edit or Write\noutside this directory will be blocked. To change the boundary, run `\u002Ffreeze`\nagain. To remove it, run `\u002Funfreeze` or end the session.\"\n\n## How it works\n\nThe hook reads `file_path` from the Edit\u002FWrite tool input JSON, then checks\nwhether the path starts with the freeze directory. If not, it returns\n`permissionDecision: \"deny\"` to block the operation.\n\nThe freeze boundary persists for the session via the state file. The hook\nscript reads it on every Edit\u002FWrite invocation.\n\n## Notes\n\n- The trailing `\u002F` on the freeze directory prevents `\u002Fsrc` from matching `\u002Fsrc-old`\n- Freeze applies to Edit and Write tools only — Read, Bash, Glob, Grep are unaffected\n- This prevents accidental edits, not a security boundary — Bash commands like `sed` can still modify files outside the boundary\n- To deactivate, run `\u002Funfreeze` or end the conversation\n","\u003C!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->\n\u003C!-- Regenerate: bun run gen:skill-docs -->\n\n\n## When to invoke this skill\n\nBlocks Edit and\nWrite outside the allowed path. Use when debugging to prevent accidentally\n\"fixing\" unrelated code, or when you want to scope changes to one module.\nUse when asked to \"freeze\", \"restrict edits\", \"only edit this folder\",\nor \"lock down edits\".\n\n# \u002Ffreeze — Restrict Edits to a Directory\n\nLock file edits to a specific directory. Any Edit or Write operation targeting\na file outside the allowed path will be **blocked** (not just warned).\n\n```bash\nmkdir -p ~\u002F.gstack\u002Fanalytics\necho '{\"skill\":\"freeze\",\"ts\":\"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'\",\"repo\":\"'$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull)\" 2>\u002Fdev\u002Fnull || echo \"unknown\")'\"}'  >> ~\u002F.gstack\u002Fanalytics\u002Fskill-usage.jsonl 2>\u002Fdev\u002Fnull || true\n```\n\n## Setup\n\nAsk the user which directory to restrict edits to. Use AskUserQuestion:\n\n- Question: \"Which directory should I restrict edits to? Files outside this path will be blocked from editing.\"\n- Text input (not multiple choice) — the user types a path.\n\nOnce the user provides a directory path:\n\n1. Resolve it to an absolute path:\n```bash\nFREEZE_DIR=$(cd \"\u003Cuser-provided-path>\" 2>\u002Fdev\u002Fnull && pwd)\necho \"$FREEZE_DIR\"\n```\n\n2. Ensure trailing slash and save to the freeze state file:\n```bash\nFREEZE_DIR=\"${FREEZE_DIR%\u002F}\u002F\"\neval \"$(~\u002F.claude\u002Fskills\u002Fgstack\u002Fbin\u002Fgstack-paths)\"\nSTATE_DIR=\"$GSTACK_STATE_ROOT\"\nmkdir -p \"$STATE_DIR\"\necho \"$FREEZE_DIR\" > \"$STATE_DIR\u002Ffreeze-dir.txt\"\necho \"Freeze boundary set: $FREEZE_DIR\"\n```\n\nTell the user: \"Edits are now restricted to `\u003Cpath>\u002F`. Any Edit or Write\noutside this directory will be blocked. To change the boundary, run `\u002Ffreeze`\nagain. To remove it, run `\u002Funfreeze` or end the session.\"\n\n## How it works\n\nThe hook reads `file_path` from the Edit\u002FWrite tool input JSON, then checks\nwhether the path starts with the freeze directory. If not, it returns\n`permissionDecision: \"deny\"` to block the operation.\n\nThe freeze boundary persists for the session via the state file. The hook\nscript reads it on every Edit\u002FWrite invocation.\n\n## Notes\n\n- The trailing `\u002F` on the freeze directory prevents `\u002Fsrc` from matching `\u002Fsrc-old`\n- Freeze applies to Edit and Write tools only — Read, Bash, Glob, Grep are unaffected\n- This prevents accidental edits, not a security boundary — Bash commands like `sed` can still modify files outside the boundary\n- To deactivate, run `\u002Funfreeze` or end the conversation\n",{"name":5,"hooks":23,"version":36,"triggers":37,"description":7,"allowed-tools":41},{"PreToolUse":24},[25,32],{"hooks":26,"matcher":31},[27],{"type":28,"command":29,"statusMessage":30},"command","bash $HOME\u002F.claude\u002Fskills\u002Fgstack\u002Ffreeze\u002Fbin\u002Fcheck-freeze.sh","Checking freeze boundary...","Edit",{"hooks":33,"matcher":35},[34],{"type":28,"command":29,"statusMessage":30},"Write","0.1.0",[38,39,40],"freeze edits to directory","lock editing scope","restrict file changes",[42,43,44],"Bash","Read","AskUserQuestion","main","ade89b30e823eb95a6d151d7d69ce3688a8b5fac",".claude\u002Fskills\u002Fgstack\u002Ffreeze","https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard","https:\u002F\u002Fgithub.com\u002Fhyunn9799","2026-06-30 17:08:27",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add hyunn9799\u002FFinSight_Guard --skill freeze",{"tool":57,"command":58},"bunx","bunx skills add hyunn9799\u002FFinSight_Guard --skill freeze",{"tool":60,"command":61},"pnpm","pnpm dlx skills add hyunn9799\u002FFinSight_Guard --skill freeze","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgstack\u002Ffreeze\u002FSKILL.md",true,[65,71],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"bin\u002Fcheck-freeze.sh","SCRIPT","脚本",2689,"https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgstack\u002Ffreeze\u002Fbin\u002Fcheck-freeze.sh",{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"SKILL.md.tmpl","OTHER","其他",3068,"https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgstack\u002Ffreeze\u002FSKILL.md.tmpl",[78,84,90,96,102,108],{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M72B0RR3P14YW8FKNA4PS4WV","unfreeze","https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Funfreeze\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M72B0R24THHXNWJ629YZD8W3","sync-gbrain","https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsync-gbrain\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M72B0PH8SRS47K5FZJNNJ4BV","spec","https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspec\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M72B0NR3ATTKFGKS3E4FVMCY","skillify","https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskillify\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":18},"01M72B0N18R80T4EC2BNXCPW4R","ship","https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fship\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":18},"01M72B0M3JB69WKAA0F1A7CQ3K","setup-gbrain","https:\u002F\u002Fgithub.com\u002Fhyunn9799\u002FFinSight_Guard\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsetup-gbrain\u002FSKILL.md",[],[]]