[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75BXRHJ7REJ175SG7718AT7":3,"skill-same:01M75BXRHJ7REJ175SG7718AT7":46},{"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":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75BXRHJ7REJ175SG7718AT7","brownfield",null,"Scan and manage brownfield repository\u002Fworktree defaults for interviews","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fbrownfield\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: brownfield\ndescription: \"Scan and manage brownfield repository\u002Fworktree defaults for interviews\"\n---\n\n# \u002Fouroboros:brownfield\n\nScan a root directory for existing git repositories and linked worktrees, then manage default repos used as context in interviews.\n\n## Usage\n\n```\nooo brownfield                # Scan repos and set defaults\nooo brownfield scan           # Scan only (no default selection)\nooo brownfield defaults       # Show current defaults\nooo brownfield set 6,18,19   # Set defaults by repo numbers\nooo brownfield detect [path]  # Author mechanical.toml via one AI call\n```\n\n**Trigger keywords:** \"brownfield\", \"scan repos\", \"default repos\", \"brownfield scan\", \"mechanical detect\"\n\n---\n\n## How It Works\n\n### Default flow (`ooo brownfield` with no args)\n\n**Step 1: Scan**\n\nShow scanning indicator:\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n  Scanning for Existing Projects...\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nLooking for git repositories and worktrees under the scan root directory.\nLinked worktrees reported by discovered normal repo roots may also be registered, even outside the scan root directory.\nLocal repos and repos with any remote name are eligible.\nThis may take a moment...\n```\n\n**Implementation — use MCP tools only, do NOT use CLI or Python scripts:**\n\n1. Load the brownfield MCP tool: `ToolSearch query: \"+ouroboros brownfield\"`\n2. Call scan+register:\n   ```\n   Tool: ouroboros_brownfield\n   Arguments: { \"action\": \"scan\" }\n   ```\n   This walks `scan_root` for valid seed repos\u002Fworktrees and registers them in DB. For each discovered normal repo root with a `.git` directory, Git-reported linked worktrees are also considered, even when they live outside `scan_root`. A linked worktree found under `scan_root` with a `.git` file is registered itself, but it is not used to register its main worktree or sibling worktrees outside `scan_root`. Existing defaults are preserved.\n\nThe scan response `text` already contains a pre-formatted numbered list with `[default]` markers. **Do NOT make any additional MCP calls to list or query repos.**\n\n**Display the repos in a plain-text 2-column grid** (NOT a markdown table). Use a code block so columns align. Example:\n\n```\nScan complete. 8 repositories registered.\n\n 1. repo-alpha                   5. repo-epsilon\n 2. repo-bravo *                 6. repo-foxtrot\n 3. repo-charlie                 7. repo-golf *\n 4. repo-delta                   8. repo-hotel\n```\n\nInclude `*` markers for defaults exactly as they appear in the scan response.\n\n**If no repos found**, show:\n```\nNo git repositories or worktrees found.\n```\nThen stop.\n\n### Scan boundaries\n\n- The filesystem walk starts at `scan_root`; when omitted, `scan_root` defaults to the current user's home directory.\n- Repositories are only discovered directly by walking directories inside `scan_root`.\n- Dot-prefixed directories and known noisy directories such as `node_modules` are not walked as seed locations.\n- Git worktrees are different: once a normal repo root with a `.git` directory is discovered, Ouroboros runs `git worktree list --porcelain` and may register those linked worktrees even if their paths are outside `scan_root`.\n- A linked worktree found inside `scan_root` with a `.git` file is registered itself, but it is not used to register its main worktree or sibling worktrees outside `scan_root`.\n- Local repos, repos without remotes, and repos whose remotes are not named `origin` are all eligible.\n\n**Step 2: Default Selection**\n\n**IMMEDIATELY after showing the list**, use `AskUserQuestion` with the current default numbers from the scan response.\n\n**If defaults exist**, show them as the recommended option:\n\n```json\n{\n  \"questions\": [{\n    \"question\": \"Which repos to set as default for interviews? Enter numbers like '6, 18, 19'.\",\n    \"header\": \"Default Repos\",\n    \"options\": [\n      {\"label\": \"\u003Ccurrent default numbers> (Recommended)\", \"description\": \"\u003Ccurrent default names>\"},\n      {\"label\": \"None\", \"description\": \"No default repos — interviews will run in greenfield mode\"}\n    ],\n    \"multiSelect\": false\n  }]\n}\n```\n\n**If no defaults exist**, do NOT show a \"(Recommended)\" option — offer \"None\" and \"Select repos\" instead:\n\n```json\n{\n  \"questions\": [{\n    \"question\": \"Which repos to set as default for interviews? Enter numbers like '6, 18, 19'.\",\n    \"header\": \"Default Repos\",\n    \"options\": [\n      {\"label\": \"None\", \"description\": \"No default repos — interviews will run in greenfield mode\"},\n      {\"label\": \"Select repos\", \"description\": \"Type repo numbers to set as default\"}\n    ],\n    \"multiSelect\": false\n  }]\n}\n```\n\nThe user can select the recommended defaults (if any), choose \"None\", or type custom numbers.\n\nAfter the user responds, use ONE MCP call to update all defaults at once:\n\n```\nTool: ouroboros_brownfield\nArguments: { \"action\": \"set_defaults\", \"indices\": \"\u003Ccomma-separated IDs>\" }\n```\n\nExample: if the user picks IDs 6, 18, 19 → `{ \"action\": \"set_defaults\", \"indices\": \"6,18,19\" }`\n\nThis clears all existing defaults and sets the selected repos as default in one call.\n\nIf \"None\" → `{ \"action\": \"set_defaults\", \"indices\": \"\" }` to clear all defaults.\n\n**Step 3: Confirmation**\n\n```\nBrownfield defaults updated!\nDefaults: grape, podo-app, podo-backend\n\nThese repos will be used as context in interviews.\n```\n\nOr if \"None\" selected:\n```\nNo default repos set. Interviews will run in greenfield mode.\nYou can set defaults anytime with: ooo brownfield\n```\n\n---\n\n### Subcommand: `scan`\n\nScan only, no default selection prompt. Show the numbered list and stop.\n\n---\n\n### Subcommand: `defaults`\n\nLoad the brownfield MCP tool and call:\n```\nTool: ouroboros_brownfield\nArguments: { \"action\": \"scan\" }\n```\n\nDisplay only the repos marked with `*` (defaults). If none, show:\n```\nNo default repos set. Run 'ooo brownfield' to configure.\n```\n\n---\n\n### Subcommand: `set \u003Cindices>`\n\nDirectly set defaults without scanning. Parse the comma-separated indices from the user's input and call:\n\n```\nTool: ouroboros_brownfield\nArguments: { \"action\": \"set_defaults\", \"indices\": \"\u003Cindices>\" }\n```\n\nShow confirmation with updated defaults.\n\n---\n\n### Subcommand: `detect [path]`\n\nRuns one AI call against the target directory (defaults to the user's cwd)\nand writes `.ouroboros\u002Fmechanical.toml` with validated lint \u002F build \u002F test \u002F\nstatic \u002F coverage commands. Stage 1 of evaluation reads this file verbatim,\nso the toml is the authoritative Stage 1 contract — no hardcoded language\npresets exist anymore.\n\nOuroboros auto-runs this detect the first time `ouroboros_evaluate` is\ninvoked without a toml present, so most users never need to call it\ndirectly. Run it explicitly when:\n\n- you want to pre-author the toml before the first evaluate,\n- you moved to a new build tool and want to refresh (`--force`),\n- you want to review\u002Fedit the commands before Stage 1 trusts them.\n\n**Implementation:** invoke the CLI via Bash.\n\n```\nuvx --from ouroboros-ai ouroboros detect [path]\n# or, if already installed:\nouroboros detect [path] [--force]\n```\n\nThen print the resulting `.ouroboros\u002Fmechanical.toml` contents so the user\ncan confirm the proposed commands or hand-edit them.\n\nIf detect reports \"could not propose any verifiable commands\", surface the\nreason (no manifests found, LLM unavailable, every proposal dropped) and\nsuggest the user write a minimal toml by hand — any single entry like\n`test = \"pytest -q\"` is enough to opt back in to Stage 1 for that check.\n","# \u002Fouroboros:brownfield\n\nScan a root directory for existing git repositories and linked worktrees, then manage default repos used as context in interviews.\n\n## Usage\n\n```\nooo brownfield                # Scan repos and set defaults\nooo brownfield scan           # Scan only (no default selection)\nooo brownfield defaults       # Show current defaults\nooo brownfield set 6,18,19   # Set defaults by repo numbers\nooo brownfield detect [path]  # Author mechanical.toml via one AI call\n```\n\n**Trigger keywords:** \"brownfield\", \"scan repos\", \"default repos\", \"brownfield scan\", \"mechanical detect\"\n\n---\n\n## How It Works\n\n### Default flow (`ooo brownfield` with no args)\n\n**Step 1: Scan**\n\nShow scanning indicator:\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n  Scanning for Existing Projects...\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nLooking for git repositories and worktrees under the scan root directory.\nLinked worktrees reported by discovered normal repo roots may also be registered, even outside the scan root directory.\nLocal repos and repos with any remote name are eligible.\nThis may take a moment...\n```\n\n**Implementation — use MCP tools only, do NOT use CLI or Python scripts:**\n\n1. Load the brownfield MCP tool: `ToolSearch query: \"+ouroboros brownfield\"`\n2. Call scan+register:\n   ```\n   Tool: ouroboros_brownfield\n   Arguments: { \"action\": \"scan\" }\n   ```\n   This walks `scan_root` for valid seed repos\u002Fworktrees and registers them in DB. For each discovered normal repo root with a `.git` directory, Git-reported linked worktrees are also considered, even when they live outside `scan_root`. A linked worktree found under `scan_root` with a `.git` file is registered itself, but it is not used to register its main worktree or sibling worktrees outside `scan_root`. Existing defaults are preserved.\n\nThe scan response `text` already contains a pre-formatted numbered list with `[default]` markers. **Do NOT make any additional MCP calls to list or query repos.**\n\n**Display the repos in a plain-text 2-column grid** (NOT a markdown table). Use a code block so columns align. Example:\n\n```\nScan complete. 8 repositories registered.\n\n 1. repo-alpha                   5. repo-epsilon\n 2. repo-bravo *                 6. repo-foxtrot\n 3. repo-charlie                 7. repo-golf *\n 4. repo-delta                   8. repo-hotel\n```\n\nInclude `*` markers for defaults exactly as they appear in the scan response.\n\n**If no repos found**, show:\n```\nNo git repositories or worktrees found.\n```\nThen stop.\n\n### Scan boundaries\n\n- The filesystem walk starts at `scan_root`; when omitted, `scan_root` defaults to the current user's home directory.\n- Repositories are only discovered directly by walking directories inside `scan_root`.\n- Dot-prefixed directories and known noisy directories such as `node_modules` are not walked as seed locations.\n- Git worktrees are different: once a normal repo root with a `.git` directory is discovered, Ouroboros runs `git worktree list --porcelain` and may register those linked worktrees even if their paths are outside `scan_root`.\n- A linked worktree found inside `scan_root` with a `.git` file is registered itself, but it is not used to register its main worktree or sibling worktrees outside `scan_root`.\n- Local repos, repos without remotes, and repos whose remotes are not named `origin` are all eligible.\n\n**Step 2: Default Selection**\n\n**IMMEDIATELY after showing the list**, use `AskUserQuestion` with the current default numbers from the scan response.\n\n**If defaults exist**, show them as the recommended option:\n\n```json\n{\n  \"questions\": [{\n    \"question\": \"Which repos to set as default for interviews? Enter numbers like '6, 18, 19'.\",\n    \"header\": \"Default Repos\",\n    \"options\": [\n      {\"label\": \"\u003Ccurrent default numbers> (Recommended)\", \"description\": \"\u003Ccurrent default names>\"},\n      {\"label\": \"None\", \"description\": \"No default repos — interviews will run in greenfield mode\"}\n    ],\n    \"multiSelect\": false\n  }]\n}\n```\n\n**If no defaults exist**, do NOT show a \"(Recommended)\" option — offer \"None\" and \"Select repos\" instead:\n\n```json\n{\n  \"questions\": [{\n    \"question\": \"Which repos to set as default for interviews? Enter numbers like '6, 18, 19'.\",\n    \"header\": \"Default Repos\",\n    \"options\": [\n      {\"label\": \"None\", \"description\": \"No default repos — interviews will run in greenfield mode\"},\n      {\"label\": \"Select repos\", \"description\": \"Type repo numbers to set as default\"}\n    ],\n    \"multiSelect\": false\n  }]\n}\n```\n\nThe user can select the recommended defaults (if any), choose \"None\", or type custom numbers.\n\nAfter the user responds, use ONE MCP call to update all defaults at once:\n\n```\nTool: ouroboros_brownfield\nArguments: { \"action\": \"set_defaults\", \"indices\": \"\u003Ccomma-separated IDs>\" }\n```\n\nExample: if the user picks IDs 6, 18, 19 → `{ \"action\": \"set_defaults\", \"indices\": \"6,18,19\" }`\n\nThis clears all existing defaults and sets the selected repos as default in one call.\n\nIf \"None\" → `{ \"action\": \"set_defaults\", \"indices\": \"\" }` to clear all defaults.\n\n**Step 3: Confirmation**\n\n```\nBrownfield defaults updated!\nDefaults: grape, podo-app, podo-backend\n\nThese repos will be used as context in interviews.\n```\n\nOr if \"None\" selected:\n```\nNo default repos set. Interviews will run in greenfield mode.\nYou can set defaults anytime with: ooo brownfield\n```\n\n---\n\n### Subcommand: `scan`\n\nScan only, no default selection prompt. Show the numbered list and stop.\n\n---\n\n### Subcommand: `defaults`\n\nLoad the brownfield MCP tool and call:\n```\nTool: ouroboros_brownfield\nArguments: { \"action\": \"scan\" }\n```\n\nDisplay only the repos marked with `*` (defaults). If none, show:\n```\nNo default repos set. Run 'ooo brownfield' to configure.\n```\n\n---\n\n### Subcommand: `set \u003Cindices>`\n\nDirectly set defaults without scanning. Parse the comma-separated indices from the user's input and call:\n\n```\nTool: ouroboros_brownfield\nArguments: { \"action\": \"set_defaults\", \"indices\": \"\u003Cindices>\" }\n```\n\nShow confirmation with updated defaults.\n\n---\n\n### Subcommand: `detect [path]`\n\nRuns one AI call against the target directory (defaults to the user's cwd)\nand writes `.ouroboros\u002Fmechanical.toml` with validated lint \u002F build \u002F test \u002F\nstatic \u002F coverage commands. Stage 1 of evaluation reads this file verbatim,\nso the toml is the authoritative Stage 1 contract — no hardcoded language\npresets exist anymore.\n\nOuroboros auto-runs this detect the first time `ouroboros_evaluate` is\ninvoked without a toml present, so most users never need to call it\ndirectly. Run it explicitly when:\n\n- you want to pre-author the toml before the first evaluate,\n- you moved to a new build tool and want to refresh (`--force`),\n- you want to review\u002Fedit the commands before Stage 1 trusts them.\n\n**Implementation:** invoke the CLI via Bash.\n\n```\nuvx --from ouroboros-ai ouroboros detect [path]\n# or, if already installed:\nouroboros detect [path] [--force]\n```\n\nThen print the resulting `.ouroboros\u002Fmechanical.toml` contents so the user\ncan confirm the proposed commands or hand-edit them.\n\nIf detect reports \"could not propose any verifiable commands\", surface the\nreason (no manifests found, LLM unavailable, every proposal dropped) and\nsuggest the user write a minimal toml by hand — any single entry like\n`test = \"pytest -q\"` is enough to opt back in to Stage 1 for that check.\n",{"name":5,"description":7},"main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Fbrownfield",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add agisota\u002Fold-one --skill brownfield",{"tool":38,"command":39},"bunx","bunx skills add agisota\u002Fold-one --skill brownfield",{"tool":41,"command":42},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill brownfield","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fbrownfield\u002FSKILL.md",true,[],[47,54,61,70,77,84],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]