[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M783F1CJTXSCBDNYQGSZQFCE":3,"skill-same:01M783F1CJTXSCBDNYQGSZQFCE":50},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M783F1CJTXSCBDNYQGSZQFCE","file-data-ops",null,"Read, transform and organize workspace files and structured data safely","theselfruleorg\u002Fpolyrob","theselfruleorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128891129?v=4","01M783D1MFDP1D5ZXSNZMKHARH","01M783D1NEE9ATD39KJYCRR09J",12,"MIT","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fdata\u002Fprompts\u002Fskills\u002Ffile-data-ops\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: file-data-ops\ndescription: Read, transform and organize workspace files and structured data safely\nlicense: MIT\nmetadata:\n  polyrob-when: 'Reading, converting or organizing local files and data'\n  polyrob-priority: '3'\n  polyrob-triggers: '{\"tool_ids\":[\"filesystem\"]}'\n  polyrob-version: '2'\n---\n# File & Data Ops\n\nRead, transform, and organize workspace files and structured data safely. Recommended\nworkflow — adapt as needed. Uses the `filesystem` tool when your `\u003Ctool-catalog>` holds\nit (a group room does not); without it, say that you cannot open files here.\n\n## When to use\nReading or parsing files, working with CSV\u002FJSON\u002FJSONL\u002FMarkdown\u002Ftext, reading a PDF or\nWord file, extracting or converting data, or organizing files in the workspace. For a\ncomputed answer from a dataset (totals, groupings, a chart), use `data-analysis`.\n\n## Workflow\n1. **Inspect before you change anything.** `filesystem_list_directory`, then\n   `filesystem_read_file` with `limit` (lines) or `char_limit` (dense JSON) for a sample.\n2. **Tabular data:** read the header and a few rows to learn the schema first.\n3. **Large files:** do not read 100k+ tokens into context. Find the region with\n   `coding_grep` when `coding` is loaded; else read in windows (`offset`\u002F`limit`,\n   `char_offset`\u002F`char_limit`). A whole-file read over the cap returns the TAIL and says so.\n4. **Documents:**\n   - `.pdf` \u002F `.docx` — `filesystem_read_file` returns the extracted text; page it with\n     `offset`\u002F`limit`. A scanned PDF has no text layer: the result says so.\n   - `.xlsx` \u002F `.xls` \u002F `.doc` \u002F `.pptx` — `filesystem_read_file` cannot decode them.\n     Use a script through `code_execution` (`openpyxl` for a spreadsheet) when it is\n     loaded; else say that you cannot read the file and ask for a CSV or PDF.\n   - A file the owner will ask about again: `knowledge_kb_ingest(path=…)`, then\n     `knowledge_kb_search`.\n5. **JSON-lines:** add with `filesystem_jsonl_append`, remove with\n   `filesystem_jsonl_remove`, check with `filesystem_jsonl_validate`. Never rewrite the\n   file by hand or with a pretty-printed object.\n6. **Do not clobber the source.** `filesystem_copy_file` it first, or write the result to\n   a NEW file. Make transforms idempotent.\n7. **Validate the output** after writing: row\u002Ffield counts, the expected schema.\n8. **Report and deliver.** Say what changed. Deliver the result file: put its ABSOLUTE\n   workspace path in your `send_message` text (the framework attaches it or links it;\n   the result says which). Use `message(media_paths=[…])` only to send it to another\n   chat.\n\n## Notes\n- Write file content **verbatim** — never reflow or strip indentation (it corrupts\n  code, YAML, and indentation-sensitive formats).\n- A Markdown file from an earlier session is a record: see `document-writing` before\n  you rewrite one.\n","# File & Data Ops\n\nRead, transform, and organize workspace files and structured data safely. Recommended\nworkflow — adapt as needed. Uses the `filesystem` tool when your `\u003Ctool-catalog>` holds\nit (a group room does not); without it, say that you cannot open files here.\n\n## When to use\nReading or parsing files, working with CSV\u002FJSON\u002FJSONL\u002FMarkdown\u002Ftext, reading a PDF or\nWord file, extracting or converting data, or organizing files in the workspace. For a\ncomputed answer from a dataset (totals, groupings, a chart), use `data-analysis`.\n\n## Workflow\n1. **Inspect before you change anything.** `filesystem_list_directory`, then\n   `filesystem_read_file` with `limit` (lines) or `char_limit` (dense JSON) for a sample.\n2. **Tabular data:** read the header and a few rows to learn the schema first.\n3. **Large files:** do not read 100k+ tokens into context. Find the region with\n   `coding_grep` when `coding` is loaded; else read in windows (`offset`\u002F`limit`,\n   `char_offset`\u002F`char_limit`). A whole-file read over the cap returns the TAIL and says so.\n4. **Documents:**\n   - `.pdf` \u002F `.docx` — `filesystem_read_file` returns the extracted text; page it with\n     `offset`\u002F`limit`. A scanned PDF has no text layer: the result says so.\n   - `.xlsx` \u002F `.xls` \u002F `.doc` \u002F `.pptx` — `filesystem_read_file` cannot decode them.\n     Use a script through `code_execution` (`openpyxl` for a spreadsheet) when it is\n     loaded; else say that you cannot read the file and ask for a CSV or PDF.\n   - A file the owner will ask about again: `knowledge_kb_ingest(path=…)`, then\n     `knowledge_kb_search`.\n5. **JSON-lines:** add with `filesystem_jsonl_append`, remove with\n   `filesystem_jsonl_remove`, check with `filesystem_jsonl_validate`. Never rewrite the\n   file by hand or with a pretty-printed object.\n6. **Do not clobber the source.** `filesystem_copy_file` it first, or write the result to\n   a NEW file. Make transforms idempotent.\n7. **Validate the output** after writing: row\u002Ffield counts, the expected schema.\n8. **Report and deliver.** Say what changed. Deliver the result file: put its ABSOLUTE\n   workspace path in your `send_message` text (the framework attaches it or links it;\n   the result says which). Use `message(media_paths=[…])` only to send it to another\n   chat.\n\n## Notes\n- Write file content **verbatim** — never reflow or strip indentation (it corrupts\n  code, YAML, and indentation-sensitive formats).\n- A Markdown file from an earlier session is a record: see `document-writing` before\n  you rewrite one.\n",{"name":5,"license":14,"metadata":23,"description":7},{"polyrob-when":24,"polyrob-version":25,"polyrob-priority":26,"polyrob-triggers":27},"Reading, converting or organizing local files and data","2","3","{\"tool_ids\":[\"filesystem\"]}","main","3a595c0e3db5aa91acc53dd80673c4d80e0721d1","data\u002Fprompts\u002Fskills\u002Ffile-data-ops",2,"https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg","https:\u002F\u002Ftheselfrule.org","2026-11-14 16:54:43",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add theselfruleorg\u002Fpolyrob --skill file-data-ops",{"tool":42,"command":43},"bunx","bunx skills add theselfruleorg\u002Fpolyrob --skill file-data-ops",{"tool":45,"command":46},"pnpm","pnpm dlx skills add theselfruleorg\u002Fpolyrob --skill file-data-ops","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fdata\u002Fprompts\u002Fskills\u002Ffile-data-ops\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M783NSEPG1S13E7W3GEQMG6J","echo-basics","How to use the echo tool from the echo fixture pack.","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fpacks\u002Fecho\u002Fpolyrob_echo\u002Fskills\u002Fecho-basics\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M783NM911CND5PQCYDHA9GGV","x-engagement","Operate X account communication on the API rail (the captured-browser rail only where the owner chose it)—read inboxes, post\u002Freply, send DMs, set up the account, with the real write gates and completion evidence","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fx\u002Fpolyrob_x\u002Fskills\u002Fx-engagement\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M783NGQ43PGVT6F9XQR4ZNP2","social-discovery","Discover public X\u002Fsocial accounts and conversations with AnySite first (anysite_describe, then anysite_api), using native X account reads where they are authoritative and preserving write gates","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fx\u002Fpolyrob_x\u002Fskills\u002Fsocial-discovery\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M783NDAEPJT10SD3DNR56H96","polymarket-trading","GATED: place\u002Fcancel Polymarket orders. Owner-only, read-first, >$500 confirmation gate; references crypto-trading-safety","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fmarkets\u002Fpolyrob_markets\u002Fskills\u002Fpolymarket-trading\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M783N8GADTQMKKBQT4Z3JJ84","polymarket-portfolio-review","Read the configured Polymarket account's positions and trade history from the public Data API (no address parameter); summarize exposure and P&L","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fmarkets\u002Fpolyrob_markets\u002Fskills\u002Fpolymarket-portfolio-review\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M783N5KTTTRRRSM7XY8SY4NF","polymarket-market-research","Read Polymarket markets (discover, details, price as implied probability, orderbook, spread, volume) with no wallet","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fmarkets\u002Fpolyrob_markets\u002Fskills\u002Fpolymarket-market-research\u002FSKILL.md",[],[]]