[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79QEDC8M0AAR7JR50SK384C":3,"skill-same:01M79QEDC8M0AAR7JR50SK384C":47},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M79QEDC8M0AAR7JR50SK384C","token-budget-advisor",null,"Offer a choice of response depth (25%\u002F50%\u002F75%\u002F100%) with token estimates before answering, then answer at that level. Use when the user asks to control response length or token budget, such as 'token budget', 'short version', 'brief answer', 'respuesta corta vs larga', 'cuántos tokens', 'ahorrar tokens', 'responde al 50%', 'dame la versión corta', 'quiero controlar cuánto usas'. Skip if depth is already set this session or 'token' means an auth\u002Fpayment token.","JunMystery\u002FAgent-Guidance","JunMystery","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F161468934?v=4","01M79MTMV8F0BY8NK1A92RA8A0","Jun","01M79MTMWCFBKPHN5B25E6V20B",0,"MIT","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Ftoken-budget-advisor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: token-budget-advisor\ndescription: Offer a choice of response depth (25%\u002F50%\u002F75%\u002F100%) with token estimates before answering, then answer at that level. Use when the user asks to control response length or token budget, such as 'token budget', 'short version', 'brief answer', 'respuesta corta vs larga', 'cuántos tokens', 'ahorrar tokens', 'responde al 50%', 'dame la versión corta', 'quiero controlar cuánto usas'. Skip if depth is already set this session or 'token' means an auth\u002Fpayment token.\nmetadata:\n  origin: community\n---\n\n# Token Budget Advisor (TBA)\n\nIntercept the response flow to offer the user a choice about response depth **before** Claude answers.\n\n## When to Use\n\n- User wants to control how long or detailed a response is\n- User mentions tokens, budget, depth, or response length\n- User says \"short version\", \"tldr\", \"brief\", \"al 25%\", \"exhaustive\", etc.\n- Any time the user wants to choose depth\u002Fdetail level upfront\n\n**Do not trigger** when: user already set a level this session (maintain it silently), or the answer is trivially one line.\n\n## How It Works\n\n### Step 1 — Estimate input tokens\n\nUse the repository's canonical context-budget heuristics to estimate the prompt's token count mentally.\n\nUse the same calibration guidance as [context-budget](..\u002Fcontext-budget\u002FSKILL.md):\n\n- prose: `words × 1.3`\n- code-heavy or mixed\u002Fcode blocks: `chars \u002F 4`\n\nFor mixed content, use the dominant content type and keep the estimate heuristic.\n\n### Step 2 — Estimate response size by complexity\n\nClassify the prompt, then apply the multiplier range to get the full response window:\n\n| Complexity   | Multiplier range | Example prompts                                      |\n|--------------|------------------|------------------------------------------------------|\n| Simple       | 3× – 8×          | \"What is X?\", yes\u002Fno, single fact                   |\n| Medium       | 8× – 20×         | \"How does X work?\"                                  |\n| Medium-High  | 10× – 25×        | Code request with context                           |\n| Complex      | 15× – 40×        | Multi-part analysis, comparisons, architecture      |\n| Creative     | 10× – 30×        | Stories, essays, narrative writing                  |\n\nResponse window = `input_tokens × mult_min` to `input_tokens × mult_max` (but don’t exceed your model’s configured output-token limit).\n\n### Step 3 — Present depth options\n\nPresent this block **before** answering, using the actual estimated numbers:\n\n```\nAnalyzing your prompt...\n\nInput: ~[N] tokens  |  Type: [type]  |  Complexity: [level]  |  Language: [lang]\n\nChoose your depth level:\n\n[1] Essential   (25%)  ->  ~[tokens]   Direct answer only, no preamble\n[2] Moderate    (50%)  ->  ~[tokens]   Answer + context + 1 example\n[3] Detailed    (75%)  ->  ~[tokens]   Full answer with alternatives\n[4] Exhaustive (100%)  ->  ~[tokens]   Everything, no limits\n\nWhich level? (1-4 or say \"25% depth\", \"50% depth\", \"75% depth\", \"100% depth\")\n\nPrecision: heuristic estimate ~85-90% accuracy (±15%).\n```\n\nLevel token estimates (within the response window):\n- 25%  → `min + (max - min) × 0.25`\n- 50%  → `min + (max - min) × 0.50`\n- 75%  → `min + (max - min) × 0.75`\n- 100% → `max`\n\n### Step 4 — Respond at the chosen level\n\n| Level            | Target length       | Include                                             | Omit                                              |\n|------------------|---------------------|-----------------------------------------------------|---------------------------------------------------|\n| 25% Essential    | 2-4 sentences max   | Direct answer, key conclusion                       | Context, examples, nuance, alternatives           |\n| 50% Moderate     | 1-3 paragraphs      | Answer + necessary context + 1 example              | Deep analysis, edge cases, references             |\n| 75% Detailed     | Structured response | Multiple examples, pros\u002Fcons, alternatives          | Extreme edge cases, exhaustive references         |\n| 100% Exhaustive  | No restriction      | Everything — full analysis, all code, all perspectives | Nothing                                        |\n\n## Shortcuts — skip the question\n\nIf the user already signals a level, respond at that level immediately without asking:\n\n| What they say                                      | Level |\n|----------------------------------------------------|-------|\n| \"1\" \u002F \"25% depth\" \u002F \"short version\" \u002F \"brief answer\" \u002F \"tldr\"  | 25%   |\n| \"2\" \u002F \"50% depth\" \u002F \"moderate depth\" \u002F \"balanced answer\"        | 50%   |\n| \"3\" \u002F \"75% depth\" \u002F \"detailed answer\" \u002F \"thorough answer\"       | 75%   |\n| \"4\" \u002F \"100% depth\" \u002F \"exhaustive answer\" \u002F \"full deep dive\"     | 100%  |\n\nIf the user set a level earlier in the session, **maintain it silently** for subsequent responses unless they change it.\n\n## Precision note\n\nThis skill uses heuristic estimation — no real tokenizer. Accuracy ~85-90%, variance ±15%. Always show the disclaimer.\n\n## Examples\n\n### Triggers\n\n- \"Give me the short version first.\"\n- \"How many tokens will your answer use?\"\n- \"Respond at 50% depth.\"\n- \"I want the exhaustive answer, not the summary.\"\n- \"Dame la version corta y luego la detallada.\"\n\n### Does Not Trigger\n\n- \"What is a JWT token?\"\n- \"The checkout flow uses a payment token.\"\n- \"Is this normal?\"\n- \"Complete the refactor.\"\n- Follow-up questions after the user already chose a depth for the session\n\n## Source\n\nStandalone skill from [TBA — Token Budget Advisor for Claude Code](https:\u002F\u002Fgithub.com\u002FXabilimon1\u002FToken-Budget-Advisor-Claude-Code-).\nOriginal project also ships a Python estimator script, but this repository keeps the skill self-contained and heuristic-only.\n","# Token Budget Advisor (TBA)\n\nIntercept the response flow to offer the user a choice about response depth **before** Claude answers.\n\n## When to Use\n\n- User wants to control how long or detailed a response is\n- User mentions tokens, budget, depth, or response length\n- User says \"short version\", \"tldr\", \"brief\", \"al 25%\", \"exhaustive\", etc.\n- Any time the user wants to choose depth\u002Fdetail level upfront\n\n**Do not trigger** when: user already set a level this session (maintain it silently), or the answer is trivially one line.\n\n## How It Works\n\n### Step 1 — Estimate input tokens\n\nUse the repository's canonical context-budget heuristics to estimate the prompt's token count mentally.\n\nUse the same calibration guidance as [context-budget](..\u002Fcontext-budget\u002FSKILL.md):\n\n- prose: `words × 1.3`\n- code-heavy or mixed\u002Fcode blocks: `chars \u002F 4`\n\nFor mixed content, use the dominant content type and keep the estimate heuristic.\n\n### Step 2 — Estimate response size by complexity\n\nClassify the prompt, then apply the multiplier range to get the full response window:\n\n| Complexity   | Multiplier range | Example prompts                                      |\n|--------------|------------------|------------------------------------------------------|\n| Simple       | 3× – 8×          | \"What is X?\", yes\u002Fno, single fact                   |\n| Medium       | 8× – 20×         | \"How does X work?\"                                  |\n| Medium-High  | 10× – 25×        | Code request with context                           |\n| Complex      | 15× – 40×        | Multi-part analysis, comparisons, architecture      |\n| Creative     | 10× – 30×        | Stories, essays, narrative writing                  |\n\nResponse window = `input_tokens × mult_min` to `input_tokens × mult_max` (but don’t exceed your model’s configured output-token limit).\n\n### Step 3 — Present depth options\n\nPresent this block **before** answering, using the actual estimated numbers:\n\n```\nAnalyzing your prompt...\n\nInput: ~[N] tokens  |  Type: [type]  |  Complexity: [level]  |  Language: [lang]\n\nChoose your depth level:\n\n[1] Essential   (25%)  ->  ~[tokens]   Direct answer only, no preamble\n[2] Moderate    (50%)  ->  ~[tokens]   Answer + context + 1 example\n[3] Detailed    (75%)  ->  ~[tokens]   Full answer with alternatives\n[4] Exhaustive (100%)  ->  ~[tokens]   Everything, no limits\n\nWhich level? (1-4 or say \"25% depth\", \"50% depth\", \"75% depth\", \"100% depth\")\n\nPrecision: heuristic estimate ~85-90% accuracy (±15%).\n```\n\nLevel token estimates (within the response window):\n- 25%  → `min + (max - min) × 0.25`\n- 50%  → `min + (max - min) × 0.50`\n- 75%  → `min + (max - min) × 0.75`\n- 100% → `max`\n\n### Step 4 — Respond at the chosen level\n\n| Level            | Target length       | Include                                             | Omit                                              |\n|------------------|---------------------|-----------------------------------------------------|---------------------------------------------------|\n| 25% Essential    | 2-4 sentences max   | Direct answer, key conclusion                       | Context, examples, nuance, alternatives           |\n| 50% Moderate     | 1-3 paragraphs      | Answer + necessary context + 1 example              | Deep analysis, edge cases, references             |\n| 75% Detailed     | Structured response | Multiple examples, pros\u002Fcons, alternatives          | Extreme edge cases, exhaustive references         |\n| 100% Exhaustive  | No restriction      | Everything — full analysis, all code, all perspectives | Nothing                                        |\n\n## Shortcuts — skip the question\n\nIf the user already signals a level, respond at that level immediately without asking:\n\n| What they say                                      | Level |\n|----------------------------------------------------|-------|\n| \"1\" \u002F \"25% depth\" \u002F \"short version\" \u002F \"brief answer\" \u002F \"tldr\"  | 25%   |\n| \"2\" \u002F \"50% depth\" \u002F \"moderate depth\" \u002F \"balanced answer\"        | 50%   |\n| \"3\" \u002F \"75% depth\" \u002F \"detailed answer\" \u002F \"thorough answer\"       | 75%   |\n| \"4\" \u002F \"100% depth\" \u002F \"exhaustive answer\" \u002F \"full deep dive\"     | 100%  |\n\nIf the user set a level earlier in the session, **maintain it silently** for subsequent responses unless they change it.\n\n## Precision note\n\nThis skill uses heuristic estimation — no real tokenizer. Accuracy ~85-90%, variance ±15%. Always show the disclaimer.\n\n## Examples\n\n### Triggers\n\n- \"Give me the short version first.\"\n- \"How many tokens will your answer use?\"\n- \"Respond at 50% depth.\"\n- \"I want the exhaustive answer, not the summary.\"\n- \"Dame la version corta y luego la detallada.\"\n\n### Does Not Trigger\n\n- \"What is a JWT token?\"\n- \"The checkout flow uses a payment token.\"\n- \"Is this normal?\"\n- \"Complete the refactor.\"\n- Follow-up questions after the user already chose a depth for the session\n\n## Source\n\nStandalone skill from [TBA — Token Budget Advisor for Claude Code](https:\u002F\u002Fgithub.com\u002FXabilimon1\u002FToken-Budget-Advisor-Claude-Code-).\nOriginal project also ships a Python estimator script, but this repository keeps the skill self-contained and heuristic-only.\n",{"name":5,"metadata":24,"description":7},{"origin":25},"community","main","5d0a87185c0e172c3901e2a6e5916b6d544b8b94","skills\u002Ftoken-budget-advisor","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance","https:\u002F\u002Fgithub.com\u002FJunMystery","AI is the typist, I am the architect. Building efficient, secure, and user-centric products through disciplined AI prompt engineering.","2026-11-13 17:41:25",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add JunMystery\u002FAgent-Guidance --skill token-budget-advisor",{"tool":39,"command":40},"bunx","bunx skills add JunMystery\u002FAgent-Guidance --skill token-budget-advisor",{"tool":42,"command":43},"pnpm","pnpm dlx skills add JunMystery\u002FAgent-Guidance --skill token-budget-advisor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Ftoken-budget-advisor\u002FSKILL.md",true,[],[48,54,60,66,72,78],{"skillNo":49,"name":50,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M79QR1E309VJ6CTQKB32AWWA","zero-trust-architecture-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-architecture-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M79QQV7GHYR02DYGN41S23WN","xss-filter-evasion-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxss-filter-evasion-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79QQNSN7YB8XB61FFSCS3WH","xs-leaks-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxs-leaks-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79QQHZZJKFDY9132G5A65C2","xpath-injection-prevention-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxpath-injection-prevention-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79QQB9ZSD3DJG8658EHQXR1","xml-security-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxml-security-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79QQ60WKV7PFMXWT9CW8PM6","xml-external-entity-prevention-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxml-external-entity-prevention-cheat-sheet\u002FSKILL.md",[],[]]