[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F136NV08JZK7AT5CCJ9MB2":3,"skill-same:01M6F136NV08JZK7AT5CCJ9MB2":87},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6F136NV08JZK7AT5CCJ9MB2","json-to-llm-context",null,"Turn JSON or PostgreSQL jsonb payloads into compact readable context for LLMs. Use when a user wants to compress JSON, reduce token usage, summarize API responses, or convert structured data into model-friendly text without dumping raw paths.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fvc999999999\u002Fjson-to-llm-context\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"json to llm context","json","context","model","paths","token","structured","compact","use","payloads","user","summarize","text","compress","convert","api","data","postgresql","llms","structured data","2026-11-10 10:12:30",false,"---\nname: json-to-llm-context\ndescription: Turn JSON or PostgreSQL jsonb payloads into compact readable context for LLMs. Use when a user wants to compress JSON, reduce token usage, summarize API responses, or convert structured data into model-friendly text without dumping raw paths.\n---\n\n# JSON to LLM Context\n\n## Overview\n\nUse this skill when raw JSON is too noisy for direct prompting. It converts JSON or exported `jsonb`\ncontent into short, readable summaries that preserve entities, status, relationships, and counts.\n\nPrefer this skill for:\n- API responses\n- PostgreSQL `jsonb` exports\n- nested config\u002Fstate payloads\n- large arrays of records that need compact summaries\n\nDo not use this skill for PDF, DOCX, image OCR, or arbitrary prose documents.\n\n## Workflow\n\n1. Confirm the input is valid JSON or `jsonb`-style JSON text.\n2. Run `scripts\u002Fjson_to_readable_context.py` on the file or pipe JSON through stdin.\n3. Return the generated readable summary as the primary artifact.\n4. If the output still feels too long, rerun with tighter limits such as lower `--max-samples`,\n   `--max-depth`, or `--max-string-len`.\n5. If parsing fails, report the JSON error clearly instead of guessing.\n\n## Quick Start\n\n```bash\npython3 scripts\u002Fjson_to_readable_context.py --input payload.json\n```\n\nFrom stdin:\n\n```bash\ncat payload.json | python3 scripts\u002Fjson_to_readable_context.py\n```\n\nWrite to a file:\n\n```bash\npython3 scripts\u002Fjson_to_readable_context.py --input payload.json --output summary.txt\n```\n\nCommon tuning:\n\n```bash\npython3 scripts\u002Fjson_to_readable_context.py \\\n  --input payload.json \\\n  --style sectioned \\\n  --strict \\\n  --preserve status,profile.email \\\n  --show-paths \\\n  --expand collections \\\n  --max-samples 2 \\\n  --max-depth 2 \\\n  --max-string-len 48\n```\n\n## Output Style\n\nThe script aims for layer-2 readable output, for example:\n\n```text\nUser[123]: Tom\n\nSummary\n- Status: active.\n- Profile: email a@b.com (verified).\n\nCollections\n- Roles: 2 total; values: admin and editor.\n```\n\nBehavior rules:\n- prefer entity headers like `User[123]: Tom`\n- group top-level output into `Summary`, `Details`, and `Collections` when available\n- convert fields into short report-style bullets when possible\n- summarize large arrays as totals, statuses, and short examples\n- keep stable ordering so repeated runs are comparable\n- avoid raw path dumps unless the structure is too irregular to beautify safely\n\n## Style Options\n\n- `--style sectioned` (default): emits `Summary`, `Details`, and `Collections`\n- `--style flat`: emits a simpler header + bullet list without section headings\n\nExample flat output:\n\n```text\nUser[123]: Tom\n- Status: active.\n- Profile: email a@b.com (verified).\n- Roles: 2 total; values: admin and editor.\n```\n\n## Safety Controls\n\n- `--strict`: reduces aggressive compression and keeps more explicit structure\n- `--preserve key1,key2,path.to.field`: always keeps those keys or dotted paths, even when empty or normally dropped\n- `--expand collections|details|all`: adds local sub-bullets so important parts are less compressed\n- `--show-paths`: appends source markers like `[@status]` or `[@orders[0]]` to rendered lines\n\nExample:\n\n```bash\npython3 scripts\u002Fjson_to_readable_context.py \\\n  --input payload.json \\\n  --strict \\\n  --preserve status,profile.email,orders \\\n  --expand all \\\n  --show-paths\n```\n\nExample with paths:\n\n```text\nUser[123]: Tom [@root]\n\nSummary\n- Status: active. [@active]\n\nCollections\n- Roles: 2 total; values: admin and editor. [@roles]\n```\n\n## When To Read References\n\nRead `references\u002Frules.md` only when you need:\n- the exact summarization heuristics\n- examples of array and nested-object handling\n- guidance for deciding whether to tighten or loosen output\n\n## Failure Handling\n\n- Invalid JSON: stop and show the parse error\n- Very irregular objects: fall back to simplified readable key\u002Fvalue lines\n- Extremely deep payloads: cap traversal with `--max-depth`\n- Overlong text blobs: truncate safely with length hints\n\n## Notes\n\n- `json` and PostgreSQL `jsonb` are treated the same once parsed\n- the default output is a single readable text artifact\n- this skill intentionally favors readability over perfect structural fidelity\n","# JSON to LLM Context\n\n## Overview\n\nUse this skill when raw JSON is too noisy for direct prompting. It converts JSON or exported `jsonb`\ncontent into short, readable summaries that preserve entities, status, relationships, and counts.\n\nPrefer this skill for:\n- API responses\n- PostgreSQL `jsonb` exports\n- nested config\u002Fstate payloads\n- large arrays of records that need compact summaries\n\nDo not use this skill for PDF, DOCX, image OCR, or arbitrary prose documents.\n\n## Workflow\n\n1. Confirm the input is valid JSON or `jsonb`-style JSON text.\n2. Run `scripts\u002Fjson_to_readable_context.py` on the file or pipe JSON through stdin.\n3. Return the generated readable summary as the primary artifact.\n4. If the output still feels too long, rerun with tighter limits such as lower `--max-samples`,\n   `--max-depth`, or `--max-string-len`.\n5. If parsing fails, report the JSON error clearly instead of guessing.\n\n## Quick Start\n\n```bash\npython3 scripts\u002Fjson_to_readable_context.py --input payload.json\n```\n\nFrom stdin:\n\n```bash\ncat payload.json | python3 scripts\u002Fjson_to_readable_context.py\n```\n\nWrite to a file:\n\n```bash\npython3 scripts\u002Fjson_to_readable_context.py --input payload.json --output summary.txt\n```\n\nCommon tuning:\n\n```bash\npython3 scripts\u002Fjson_to_readable_context.py \\\n  --input payload.json \\\n  --style sectioned \\\n  --strict \\\n  --preserve status,profile.email \\\n  --show-paths \\\n  --expand collections \\\n  --max-samples 2 \\\n  --max-depth 2 \\\n  --max-string-len 48\n```\n\n## Output Style\n\nThe script aims for layer-2 readable output, for example:\n\n```text\nUser[123]: Tom\n\nSummary\n- Status: active.\n- Profile: email a@b.com (verified).\n\nCollections\n- Roles: 2 total; values: admin and editor.\n```\n\nBehavior rules:\n- prefer entity headers like `User[123]: Tom`\n- group top-level output into `Summary`, `Details`, and `Collections` when available\n- convert fields into short report-style bullets when possible\n- summarize large arrays as totals, statuses, and short examples\n- keep stable ordering so repeated runs are comparable\n- avoid raw path dumps unless the structure is too irregular to beautify safely\n\n## Style Options\n\n- `--style sectioned` (default): emits `Summary`, `Details`, and `Collections`\n- `--style flat`: emits a simpler header + bullet list without section headings\n\nExample flat output:\n\n```text\nUser[123]: Tom\n- Status: active.\n- Profile: email a@b.com (verified).\n- Roles: 2 total; values: admin and editor.\n```\n\n## Safety Controls\n\n- `--strict`: reduces aggressive compression and keeps more explicit structure\n- `--preserve key1,key2,path.to.field`: always keeps those keys or dotted paths, even when empty or normally dropped\n- `--expand collections|details|all`: adds local sub-bullets so important parts are less compressed\n- `--show-paths`: appends source markers like `[@status]` or `[@orders[0]]` to rendered lines\n\nExample:\n\n```bash\npython3 scripts\u002Fjson_to_readable_context.py \\\n  --input payload.json \\\n  --strict \\\n  --preserve status,profile.email,orders \\\n  --expand all \\\n  --show-paths\n```\n\nExample with paths:\n\n```text\nUser[123]: Tom [@root]\n\nSummary\n- Status: active. [@active]\n\nCollections\n- Roles: 2 total; values: admin and editor. [@roles]\n```\n\n## When To Read References\n\nRead `references\u002Frules.md` only when you need:\n- the exact summarization heuristics\n- examples of array and nested-object handling\n- guidance for deciding whether to tighten or loosen output\n\n## Failure Handling\n\n- Invalid JSON: stop and show the parse error\n- Very irregular objects: fall back to simplified readable key\u002Fvalue lines\n- Extremely deep payloads: cap traversal with `--max-depth`\n- Overlong text blobs: truncate safely with length hints\n\n## Notes\n\n- `json` and PostgreSQL `jsonb` are treated the same once parsed\n- the default output is a single readable text artifact\n- this skill intentionally favors readability over perfect structural fidelity\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Fvc999999999\u002Fjson-to-llm-context",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill json-to-llm-context",{"tool":59,"command":60},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill json-to-llm-context",{"tool":62,"command":63},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill json-to-llm-context","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fvc999999999\u002Fjson-to-llm-context\u002FSKILL.md",true,[67,73,77,83],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"agents\u002Fopenai.yaml","REFERENCE","参考文档",206,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fvc999999999\u002Fjson-to-llm-context\u002Fagents\u002Fopenai.yaml",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Frules.md",2732,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fvc999999999\u002Fjson-to-llm-context\u002Freferences\u002Frules.md",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fjson_to_readable_context.py","SCRIPT","脚本",33536,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fvc999999999\u002Fjson-to-llm-context\u002Fscripts\u002Fjson_to_readable_context.py",{"path":84,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":85,"sourceHtmlUrl":86},"skill-report.json",15095,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fvc999999999\u002Fjson-to-llm-context\u002Fskill-report.json",[88,101,111,120,126,133],{"skillNo":89,"name":90,"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":91,"categories":92,"keywords":98,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[93],{"categoryNo":94,"categoryName":95,"taxonomyType":96,"taxonomyTypeDesc":97},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[22,99,100],"model hierarchy","model hierarchy skill",{"skillNo":102,"name":103,"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":104,"categories":105,"keywords":107,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[106],{"categoryNo":94,"categoryName":95,"taxonomyType":96,"taxonomyTypeDesc":97},[108,109,110],"MCP","zoom","zoom mcp",{"skillNo":112,"name":113,"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":114,"categories":115,"keywords":116,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[117,118,119,109],"sdk","zoom apps sdk","apps",{"skillNo":121,"name":122,"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":123,"categories":124,"keywords":125,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[122],{"skillNo":127,"name":128,"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":129,"categories":130,"keywords":132,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[131],{"categoryNo":94,"categoryName":95,"taxonomyType":96,"taxonomyTypeDesc":97},[128],{"skillNo":134,"name":135,"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":136,"categories":137,"keywords":138,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[135]]