[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZRKVFTYJXCP0BXP5W38MA":3,"skill-same:01M6BZRKVFTYJXCP0BXP5W38MA":50},{"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":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M6BZRKVFTYJXCP0BXP5W38MA","find-session",null,"Find opencode sessions by name or content across ALL project directories, bypassing the cwd scoping of session_list\u002Fsession_search. Use when looking for a session that was started in a different folder.","twidxuga\u002Fdotfiles","twidxuga","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12471681?v=4","01M6BZR45BH8JCC79Q9SKSS6SC","Ricardo Santos","01M6BZR49CRKSBZYQD1WNQWCXW",0,"MIT","https:\u002F\u002Fgithub.com\u002Ftwidxuga\u002Fdotfiles\u002Fblob\u002Fmain\u002Fopencode\u002Fdot-config\u002Fopencode\u002Fskills\u002Ffind-session\u002FSKILL.md",[],[19,20,21,22,23],"find","find session","sessions","search","content","2026-11-10 10:12:30",false,"---\nname: find-session\ndescription: Find opencode sessions by name or content across ALL project directories, bypassing the cwd scoping of session_list\u002Fsession_search. Use when looking for a session that was started in a different folder.\n---\n\n# Find Session Skill\n\nThe built-in `session_list` and `session_search` tools are scoped to the current working directory. This skill bypasses that by querying the opencode SQLite database directly.\n\n## Database location\n\n```\n~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db\n```\n\n## How to find a session\n\n### 1. By title (fast — use this first)\n\n```bash\nsqlite3 ~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db \\\n  \"SELECT id, title, directory, datetime(time_updated\u002F1000,'unixepoch') as last_active\n   FROM session\n   WHERE title LIKE '%\u003Csearch term>%'\n   ORDER BY time_updated DESC\n   LIMIT 10;\"\n```\n\n### 2. By content (slower — use if title search returns nothing)\n\n```bash\nsqlite3 ~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db \\\n  \"SELECT DISTINCT s.id, s.title, s.directory, datetime(s.time_updated\u002F1000,'unixepoch') as last_active\n   FROM session s\n   JOIN part p ON p.session_id = s.id\n   WHERE p.data LIKE '%\u003Csearch term>%'\n   ORDER BY s.time_updated DESC\n   LIMIT 10;\"\n```\n\n### 3. List all recent sessions across all projects\n\n```bash\nsqlite3 ~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db \\\n  \"SELECT id, title, directory, datetime(time_updated\u002F1000,'unixepoch') as last_active\n   FROM session\n   ORDER BY time_updated DESC\n   LIMIT 20;\"\n```\n\n## Once you have the session ID\n\nRead its recent messages via the `part` table (the `session_read` tool won't work cross-project):\n\n```bash\nsqlite3 ~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db \\\n  \"SELECT substr(p.data, 1, 800), datetime(p.time_created\u002F1000,'unixepoch')\n   FROM part p\n   JOIN message m ON p.message_id = m.id\n   WHERE m.session_id = '\u003Csession_id>'\n   AND p.data LIKE '{\\\"type\\\":\\\"text\\\"%'\n   ORDER BY p.time_created DESC\n   LIMIT 20;\"\n```\n\nTo get tool calls and actions too (broader view):\n\n```bash\nsqlite3 ~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db \\\n  \"SELECT substr(p.data, 1, 1000), datetime(p.time_created\u002F1000,'unixepoch')\n   FROM part p\n   JOIN message m ON p.message_id = m.id\n   WHERE m.session_id = '\u003Csession_id>'\n   ORDER BY p.time_created DESC\n   LIMIT 30;\"\n```\n\n## Workflow\n\n1. Run the title search first — it's instant\n2. If no match, run the content search (may be slow on large DBs)\n3. Report: session ID, title, directory, and last active time\n4. If user wants to know what's happening, read the last 15-20 parts and summarise\n","# Find Session Skill\n\nThe built-in `session_list` and `session_search` tools are scoped to the current working directory. This skill bypasses that by querying the opencode SQLite database directly.\n\n## Database location\n\n```\n~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db\n```\n\n## How to find a session\n\n### 1. By title (fast — use this first)\n\n```bash\nsqlite3 ~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db \\\n  \"SELECT id, title, directory, datetime(time_updated\u002F1000,'unixepoch') as last_active\n   FROM session\n   WHERE title LIKE '%\u003Csearch term>%'\n   ORDER BY time_updated DESC\n   LIMIT 10;\"\n```\n\n### 2. By content (slower — use if title search returns nothing)\n\n```bash\nsqlite3 ~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db \\\n  \"SELECT DISTINCT s.id, s.title, s.directory, datetime(s.time_updated\u002F1000,'unixepoch') as last_active\n   FROM session s\n   JOIN part p ON p.session_id = s.id\n   WHERE p.data LIKE '%\u003Csearch term>%'\n   ORDER BY s.time_updated DESC\n   LIMIT 10;\"\n```\n\n### 3. List all recent sessions across all projects\n\n```bash\nsqlite3 ~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db \\\n  \"SELECT id, title, directory, datetime(time_updated\u002F1000,'unixepoch') as last_active\n   FROM session\n   ORDER BY time_updated DESC\n   LIMIT 20;\"\n```\n\n## Once you have the session ID\n\nRead its recent messages via the `part` table (the `session_read` tool won't work cross-project):\n\n```bash\nsqlite3 ~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db \\\n  \"SELECT substr(p.data, 1, 800), datetime(p.time_created\u002F1000,'unixepoch')\n   FROM part p\n   JOIN message m ON p.message_id = m.id\n   WHERE m.session_id = '\u003Csession_id>'\n   AND p.data LIKE '{\\\"type\\\":\\\"text\\\"%'\n   ORDER BY p.time_created DESC\n   LIMIT 20;\"\n```\n\nTo get tool calls and actions too (broader view):\n\n```bash\nsqlite3 ~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db \\\n  \"SELECT substr(p.data, 1, 1000), datetime(p.time_created\u002F1000,'unixepoch')\n   FROM part p\n   JOIN message m ON p.message_id = m.id\n   WHERE m.session_id = '\u003Csession_id>'\n   ORDER BY p.time_created DESC\n   LIMIT 30;\"\n```\n\n## Workflow\n\n1. Run the title search first — it's instant\n2. If no match, run the content search (may be slow on large DBs)\n3. Report: session ID, title, directory, and last active time\n4. If user wants to know what's happening, read the last 15-20 parts and summarise\n",{"name":5,"description":7},"main","e25eb555e87aa9eeb59b520834f46fd926ad19a3","opencode\u002Fdot-config\u002Fopencode\u002Fskills\u002Ffind-session","https:\u002F\u002Fgithub.com\u002Ftwidxuga\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Ftwidxuga","Software developer, data scientist, applications architect and all round computer geek.","2026-10-28 03:46:24",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add twidxuga\u002Fdotfiles --skill find-session",{"tool":42,"command":43},"bunx","bunx skills add twidxuga\u002Fdotfiles --skill find-session",{"tool":45,"command":46},"pnpm","pnpm dlx skills add twidxuga\u002Fdotfiles --skill find-session","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftwidxuga\u002Fdotfiles\u002Fblob\u002Fmain\u002Fopencode\u002Fdot-config\u002Fopencode\u002Fskills\u002Ffind-session\u002FSKILL.md",true,[],[51,83,97,114,129,141],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":65,"publishedAt":24},"01M6C9Z7VKBN4HAFBDXD67K3E1","terraform-test","Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.","https:\u002F\u002Fgithub.com\u002Ftwidxuga\u002Fdotfiles\u002Fblob\u002Fmain\u002Fopencode\u002Fdot-config\u002Fopencode\u002Fskills\u002Fterraform-test\u002FSKILL.md",[57,62],{"categoryNo":58,"categoryName":59,"taxonomyType":60,"taxonomyTypeDesc":61},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":63,"categoryName":64,"taxonomyType":60,"taxonomyTypeDesc":61},"01JBSEEDCAT000000000000011","运维与部署",[66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82],"test","terraform","terraform test","testing","writing","infrastructure","run","data","ibm","Providers","execution","troubleshooting","syntax","behavior","guide","use","files",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":90,"publishedAt":24},"01M6C9Z4GWWTXCXAS8NK747K07","terraform-style-guide","Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.","https:\u002F\u002Fgithub.com\u002Ftwidxuga\u002Fdotfiles\u002Fblob\u002Fmain\u002Fopencode\u002Fdot-config\u002Fopencode\u002Fskills\u002Fterraform-style-guide\u002FSKILL.md",[89],{"categoryNo":63,"categoryName":64,"taxonomyType":60,"taxonomyTypeDesc":61},[91,80,67,92,93,94,95,70,96,81],"terraform style guide","official","generate","code","best practices","hashicorp",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":104,"publishedAt":24},"01M6C9Z1DCAC8YQQ1WS0AHBB14","terraform-stacks","Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.","https:\u002F\u002Fgithub.com\u002Ftwidxuga\u002Fdotfiles\u002Fblob\u002Fmain\u002Fopencode\u002Fdot-config\u002Fopencode\u002Fskills\u002Fterraform-stacks\u002FSKILL.md",[103],{"categoryNo":63,"categoryName":64,"taxonomyType":60,"taxonomyTypeDesc":61},[67,105,106,82,107,108,109,110,71,111,74,96,112,77,78,113,80,81],"terraform stacks","multi-environment","deployments","public","modules","components","registry","stack","environment",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":121,"publishedAt":24},"01M6C9YYAVCNTR81V4HGZWPFW1","terraform-search-import","Discover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.","https:\u002F\u002Fgithub.com\u002Ftwidxuga\u002Fdotfiles\u002Fblob\u002Fmain\u002Fopencode\u002Fdot-config\u002Fopencode\u002Fskills\u002Fterraform-search-import\u002FSKILL.md",[120],{"categoryNo":63,"categoryName":64,"taxonomyType":60,"taxonomyTypeDesc":61},[122,22,67,81,123,71,124,74,75,125,126,127,128],"terraform search import","support","cloud","list","management","version","iac",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":133,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":137,"publishedAt":24},"01M6BZS7EAXHWK32RG213VE65G","run-acceptance-tests","Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.","MPL-2.0","https:\u002F\u002Fgithub.com\u002Ftwidxuga\u002Fdotfiles\u002Fblob\u002Fmain\u002Fopencode\u002Fdot-config\u002Fopencode\u002Fskills\u002Fterraform-run-acceptance-tests\u002FSKILL.md",[136],{"categoryNo":63,"categoryName":64,"taxonomyType":60,"taxonomyTypeDesc":61},[138,139,72,66,67,140,74],"run acceptance tests","acceptance","terraform provider",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":154,"publishedAt":24},"01M6BZS4MJD31PY7M7654ZWQ56","refactor-module","Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.","https:\u002F\u002Fgithub.com\u002Ftwidxuga\u002Fdotfiles\u002Fblob\u002Fmain\u002Fopencode\u002Fdot-config\u002Fopencode\u002Fskills\u002Fterraform-refactor-module\u002FSKILL.md",[147,150,151],{"categoryNo":148,"categoryName":149,"taxonomyType":60,"taxonomyTypeDesc":61},"01JBSEEDCAT000000000000007","代码审查",{"categoryNo":63,"categoryName":64,"taxonomyType":60,"taxonomyTypeDesc":61},{"categoryNo":152,"categoryName":153,"taxonomyType":60,"taxonomyTypeDesc":61},"01JBSEEDCAT000000000000015","视觉设计",[155,156,95,67,74,96,157],"refactor module","refactor","design"]