[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79F8WY72WD49T3NPT3PPVG5":3,"skill-same:01M79F8WY72WD49T3NPT3PPVG5":59},{"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":38,"commitSha":39,"skillDirectory":40,"forksCount":14,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M79F8WY72WD49T3NPT3PPVG5","prompts-c-program",null,"Apply the \"C Program\" prompt-library workflow: given a task description or mathematical\u002Fcomputational problem, scaffold a disciplined, self-contained C-program workspace under src\u002Fc\u002F\u003Cname>\u002F (or equivalent project-appropriate location). The scaffold must include a Makefile that integrates with any parent build for GMP\u002FMFPR large-number support (no new external dependencies introduced), a demonstration shell script, full build that produces a working executable, and clear documentation inside the folder only. Never modify artifacts outside the new folder. Use when the user says \"scaffold a C program for...\", \"create C workspace for this problem\", \"use the C Program prompt on this task\", \"set up disciplined C project with GMP\", or runs \u002Fprompts-c-program.","zfifteen\u002Fskills-catalog","zfifteen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221906715?v=4","01M79CQFXDZM5J5CJTCECPFA66","Dionisio Alberto Lopez III","01M79CQFY4C62PN8A2T5KDAHGA",1,"MIT","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fprompts-c-program\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: prompts-c-program\ndescription: >\n  Apply the \"C Program\" prompt-library workflow: given a task description or mathematical\u002Fcomputational\n  problem, scaffold a disciplined, self-contained C-program workspace under src\u002Fc\u002F\u003Cname>\u002F (or equivalent\n  project-appropriate location). The scaffold must include a Makefile that integrates with any parent\n  build for GMP\u002FMFPR large-number support (no new external dependencies introduced), a demonstration\n  shell script, full build that produces a working executable, and clear documentation inside the folder only.\n  Never modify artifacts outside the new folder.\n  Use when the user says \"scaffold a C program for...\", \"create C workspace for this problem\", \"use the\n  C Program prompt on this task\", \"set up disciplined C project with GMP\", or runs \u002Fprompts-c-program.\nwhen-to-use: \"Scaffolding a new, well-isolated C implementation for large-integer or high-precision numerical work. Triggers: 'C program', 'C workspace', 'GMP\u002FMFPR', 'disciplined C scaffold', 'src\u002Fc\u002F folder'. Especially relevant for prime-gap or number-theoretic experiments.\"\nargument-hint: \"\u003Ctask description or mathematical problem to implement in disciplined C>\"\nallowed-tools: [\"read_file\", \"grep\", \"list_dir\", \"write\", \"search_replace\", \"run_terminal_cmd\"]\nmetadata:\n  short-description: \"Scaffold disciplined C workspace with GMP\u002FMFPR, Makefile, demo script (self-contained)\"\n  canonical-codex-skill: \"\u002FUsers\u002Fvelocityworks\u002F.codex\u002Fskills\u002Fprompts-c-program\u002FSKILL.md\"\n  version: \"1.0.0\"\n---\n\n# C Program — Grok Port\n\nScaffold a production-quality, minimal-dependency C workspace that respects large-number arithmetic conventions used in this project (GMP + MPFR) while keeping every artifact strictly inside its own folder.\n\n## Purpose\n\nThe original prompt enforces workspace hygiene and build discipline for C experiments that deal with \"insanely large numbers\". This Grok port turns the prompt into an active scaffolder that actually creates the folder, Makefile, demo script, and build artifacts using the available tools.\n\n## Invocation\n\n```\n\u002Fprompts-c-program \u003Cdescription of the C task or algorithm to implement>\n```\n\nThe description (plus any additional constraints from the conversation) becomes the `{shortcut_input}` \u002F task specification.\n\n## Core Contract (Preserved from Original)\n\n- Create a **new folder** under `src\u002Fc\u002F` (or the nearest equivalent conventional location for the current project) for **all** artifacts and documentation.\n- **Do not modify any artifacts outside** of the new folder.\n- Create a **Makefile** that includes the parent Makefile for all dependencies.\n- The new Makefile **must not introduce any new dependencies**.\n- **Always use GMP\u002FMPFR** as we work in insanely large numbers.\n- Invoke the parent to build shared libs.\n- Include a **shell script to demonstrate** usage.\n- Ensure `make` builds the executable.\n\n## Grok Scaffolding Workflow\n\n1. **Determine Target Location**\n   - Inspect the workspace with `list_dir` at root and common source areas.\n   - Default target: `src\u002Fc\u002F\u003Ckebab-case-task-name>\u002F`\n   - If the project already has a different convention (e.g. `c-experiments\u002F`), adapt intelligently but still isolate everything inside one new subfolder.\n   - Create the directory by writing the first file into it (the tools will create parents as needed).\n\n2. **Design the Minimal Interface**\n   - From the task description, identify the core computation, required inputs\u002Foutputs, and any CLI or library entry points.\n   - Keep the public surface tiny (one or two .c files + header if library).\n\n3. **Create the Scaffold Files** (using `write` or `search_replace` with empty old for new files)\n\n   Required files (all inside the new folder only):\n   - `README.md` — purpose, build instructions, how to run the demo, GMP\u002FMPFR notes.\n   - `Makefile` — includes parent (e.g. `include ..\u002F..\u002FMakefile` or correct relative path), declares GMP\u002FMPFR linkage (`-lgmp -lmpfr`), builds the executable from the .c sources, has `clean` and `demo` targets.\n   - `main.c` (or `taskname.c`) — skeleton with includes for gmp.h \u002F mpfr.h, basic error handling, CLI argument parsing (getopt or simple), clear \"TODO: implement core logic here\" section.\n   - `demo.sh` — executable shell script that builds (if needed) and runs the program with representative inputs, shows output, exits non-zero on failure. Includes `#!\u002Fbin\u002Fbash` and `set -euo pipefail`.\n   - `FINDINGS.md` or `NOTES.md` (optional but recommended) — for recording results of the C run.\n\n4. **Parent Makefile Integration**\n   - The child Makefile must invoke or extend the parent so that `make -C src\u002Fc\u002F\u003Cname>` works and shared libs from the project root are available.\n   - Document the exact invocation in the README.\n\n5. **Build & Verify**\n   - After writing files, run `make` (via `run_terminal_cmd` if available, or instruct the user) from inside the new folder or with correct `-C`.\n   - Confirm the executable is produced and the demo script runs successfully.\n   - If build fails, fix the scaffold immediately using search_replace.\n\n6. **Documentation Discipline**\n   - Every file inside the folder must be self-documenting or have clear comments.\n   - No external dependencies beyond what the parent already provides + GMP\u002FMPFR (assumed present in the environment).\n\n## Output Contract\n\nAfter scaffolding:\n\n- Report the absolute path of the created folder.\n- Show a tree or list of created files.\n- Provide the exact commands to build and run the demo.\n- Include a one-paragraph summary of the intended implementation task inside the folder's README.\n- If the task description contained mathematical invariants or PGS objects, note them explicitly in the code skeleton and README so the C implementation starts from the correct native frame (per AGENTS.md).\n\n## Success Criteria\n\n- A new isolated folder exists containing only the scaffold for this task.\n- `make` succeeds and produces a runnable executable.\n- `demo.sh` runs and demonstrates the program (even if the core algorithm is still a stub).\n- No files were created or modified outside the designated folder.\n- The scaffold is ready for an implementer (human or agent) to fill in the actual algorithm without fighting the build system.\n- GMP\u002FMPFR headers and linkage are correctly referenced.\n\n## Guardrails\n\n- **Hygiene is non-negotiable.** If the environment prevents creating the folder in the ideal location, ask the user for explicit approval before using any other location.\n- Do not add new third-party libraries, build systems (Meson, CMake unless the parent already uses them), or package managers.\n- The demo script must be robust (proper quoting, error propagation).\n- For PGS-related C work: the skeleton must include comments reminding the implementer to reason from PGS objects\u002Finvariants first.\n\n## Example Generated Structure (for reference)\n\n```\nsrc\u002Fc\u002Fprime-gap-counter\u002F\n├── README.md\n├── Makefile\n├── main.c\n├── demo.sh\n└── NOTES.md\n```\n\nThis skill gives Grok the ability to turn a high-level numerical task into a ready-to-code, correctly-built C experiment harness while strictly honoring the original workspace-isolation and large-number conventions.\n","# C Program — Grok Port\n\nScaffold a production-quality, minimal-dependency C workspace that respects large-number arithmetic conventions used in this project (GMP + MPFR) while keeping every artifact strictly inside its own folder.\n\n## Purpose\n\nThe original prompt enforces workspace hygiene and build discipline for C experiments that deal with \"insanely large numbers\". This Grok port turns the prompt into an active scaffolder that actually creates the folder, Makefile, demo script, and build artifacts using the available tools.\n\n## Invocation\n\n```\n\u002Fprompts-c-program \u003Cdescription of the C task or algorithm to implement>\n```\n\nThe description (plus any additional constraints from the conversation) becomes the `{shortcut_input}` \u002F task specification.\n\n## Core Contract (Preserved from Original)\n\n- Create a **new folder** under `src\u002Fc\u002F` (or the nearest equivalent conventional location for the current project) for **all** artifacts and documentation.\n- **Do not modify any artifacts outside** of the new folder.\n- Create a **Makefile** that includes the parent Makefile for all dependencies.\n- The new Makefile **must not introduce any new dependencies**.\n- **Always use GMP\u002FMPFR** as we work in insanely large numbers.\n- Invoke the parent to build shared libs.\n- Include a **shell script to demonstrate** usage.\n- Ensure `make` builds the executable.\n\n## Grok Scaffolding Workflow\n\n1. **Determine Target Location**\n   - Inspect the workspace with `list_dir` at root and common source areas.\n   - Default target: `src\u002Fc\u002F\u003Ckebab-case-task-name>\u002F`\n   - If the project already has a different convention (e.g. `c-experiments\u002F`), adapt intelligently but still isolate everything inside one new subfolder.\n   - Create the directory by writing the first file into it (the tools will create parents as needed).\n\n2. **Design the Minimal Interface**\n   - From the task description, identify the core computation, required inputs\u002Foutputs, and any CLI or library entry points.\n   - Keep the public surface tiny (one or two .c files + header if library).\n\n3. **Create the Scaffold Files** (using `write` or `search_replace` with empty old for new files)\n\n   Required files (all inside the new folder only):\n   - `README.md` — purpose, build instructions, how to run the demo, GMP\u002FMPFR notes.\n   - `Makefile` — includes parent (e.g. `include ..\u002F..\u002FMakefile` or correct relative path), declares GMP\u002FMPFR linkage (`-lgmp -lmpfr`), builds the executable from the .c sources, has `clean` and `demo` targets.\n   - `main.c` (or `taskname.c`) — skeleton with includes for gmp.h \u002F mpfr.h, basic error handling, CLI argument parsing (getopt or simple), clear \"TODO: implement core logic here\" section.\n   - `demo.sh` — executable shell script that builds (if needed) and runs the program with representative inputs, shows output, exits non-zero on failure. Includes `#!\u002Fbin\u002Fbash` and `set -euo pipefail`.\n   - `FINDINGS.md` or `NOTES.md` (optional but recommended) — for recording results of the C run.\n\n4. **Parent Makefile Integration**\n   - The child Makefile must invoke or extend the parent so that `make -C src\u002Fc\u002F\u003Cname>` works and shared libs from the project root are available.\n   - Document the exact invocation in the README.\n\n5. **Build & Verify**\n   - After writing files, run `make` (via `run_terminal_cmd` if available, or instruct the user) from inside the new folder or with correct `-C`.\n   - Confirm the executable is produced and the demo script runs successfully.\n   - If build fails, fix the scaffold immediately using search_replace.\n\n6. **Documentation Discipline**\n   - Every file inside the folder must be self-documenting or have clear comments.\n   - No external dependencies beyond what the parent already provides + GMP\u002FMPFR (assumed present in the environment).\n\n## Output Contract\n\nAfter scaffolding:\n\n- Report the absolute path of the created folder.\n- Show a tree or list of created files.\n- Provide the exact commands to build and run the demo.\n- Include a one-paragraph summary of the intended implementation task inside the folder's README.\n- If the task description contained mathematical invariants or PGS objects, note them explicitly in the code skeleton and README so the C implementation starts from the correct native frame (per AGENTS.md).\n\n## Success Criteria\n\n- A new isolated folder exists containing only the scaffold for this task.\n- `make` succeeds and produces a runnable executable.\n- `demo.sh` runs and demonstrates the program (even if the core algorithm is still a stub).\n- No files were created or modified outside the designated folder.\n- The scaffold is ready for an implementer (human or agent) to fill in the actual algorithm without fighting the build system.\n- GMP\u002FMPFR headers and linkage are correctly referenced.\n\n## Guardrails\n\n- **Hygiene is non-negotiable.** If the environment prevents creating the folder in the ideal location, ask the user for explicit approval before using any other location.\n- Do not add new third-party libraries, build systems (Meson, CMake unless the parent already uses them), or package managers.\n- The demo script must be robust (proper quoting, error propagation).\n- For PGS-related C work: the skeleton must include comments reminding the implementer to reason from PGS objects\u002Finvariants first.\n\n## Example Generated Structure (for reference)\n\n```\nsrc\u002Fc\u002Fprime-gap-counter\u002F\n├── README.md\n├── Makefile\n├── main.c\n├── demo.sh\n└── NOTES.md\n```\n\nThis skill gives Grok the ability to turn a high-level numerical task into a ready-to-code, correctly-built C experiment harness while strictly honoring the original workspace-isolation and large-number conventions.\n",{"name":5,"metadata":24,"description":28,"when-to-use":29,"allowed-tools":30,"argument-hint":37},{"version":25,"short-description":26,"canonical-codex-skill":27},"1.0.0","Scaffold disciplined C workspace with GMP\u002FMFPR, Makefile, demo script (self-contained)","\u002FUsers\u002Fvelocityworks\u002F.codex\u002Fskills\u002Fprompts-c-program\u002FSKILL.md","Apply the \"C Program\" prompt-library workflow: given a task description or mathematical\u002Fcomputational problem, scaffold a disciplined, self-contained C-program workspace under src\u002Fc\u002F\u003Cname>\u002F (or equivalent project-appropriate location). The scaffold must include a Makefile that integrates with any parent build for GMP\u002FMFPR large-number support (no new external dependencies introduced), a demonstration shell script, full build that produces a working executable, and clear documentation inside the folder only. Never modify artifacts outside the new folder. Use when the user says \"scaffold a C program for...\", \"create C workspace for this problem\", \"use the C Program prompt on this task\", \"set up disciplined C project with GMP\", or runs \u002Fprompts-c-program.\n","Scaffolding a new, well-isolated C implementation for large-integer or high-precision numerical work. Triggers: 'C program', 'C workspace', 'GMP\u002FMFPR', 'disciplined C scaffold', 'src\u002Fc\u002F folder'. Especially relevant for prime-gap or number-theoretic experiments.",[31,32,33,34,35,36],"read_file","grep","list_dir","write","search_replace","run_terminal_cmd","\u003Ctask description or mathematical problem to implement in disciplined C>","main","d9535210da9af28aa76bca80de80355197e1b6d6","skills\u002Fprompts-c-program","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog","https:\u002F\u002Fgithub.com\u002Fzfifteen","I like to measure things.","2026-07-19 23:41:54",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add zfifteen\u002Fskills-catalog --skill prompts-c-program",{"tool":51,"command":52},"bunx","bunx skills add zfifteen\u002Fskills-catalog --skill prompts-c-program",{"tool":54,"command":55},"pnpm","pnpm dlx skills add zfifteen\u002Fskills-catalog --skill prompts-c-program","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fprompts-c-program\u002FSKILL.md",true,[],[60,67,74,81,90,97],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M79GXQ2PWPT2E4CJYHXVJ0YE","Zotero","Use Zotero Desktop from Codex to enable\u002Fprobe the local API, search a local Zotero library, list items\u002Fcollections\u002Ftags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX\u002FRIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzotero\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79GXN85NETKBE06865CWK6Z","zoom-apps-sdk","Use when using Apps SDK.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M79GXCYD7FGYS932J9N9RFFY","youtube","Obtain accurate, timestamped YouTube video transcripts (preferring manual captions over auto-generated) as the primary deliverable, then derive summaries, key claims, or notes from that transcript.  Use when the user provides a YouTube URL (or video ID) and wants the transcript, a faithful summary, key claims with attribution, timestamped notes, or \"what does this video actually say\".  The skill is transcript-first: never substitute metadata, title, description, or search snippets for the spoken content.  Triggers: \"youtube transcript\", \"get the transcript of this video\", \"summarize this youtube video\", \"what did they say in https:\u002F\u002Fyoutube.com\u002F...\", \"key claims from this talk\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M79GX8EXHHYM566BKR7MS778","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M79GX2HFJPX84NMRE5VBTYX9","x-post-creator","Create X-ready post threads and co-located story packages from the active conversation or referenced project material. Use when the user says turn this into an X-post, \u002Fx-post, make this into an X thread, or wants plain-language social posts with supporting images saved to docs\u002Fx-posts\u002F[story-name]\u002F.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-post-creator\u002FSKILL.md",[],[],{"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":103,"publishedAt":19},"01M79GWXQT4HBT6QME6QSBZJFA","x-api","Search, read, and write X posts through the local X API MCP server (the same backend used by the Codex x-api skill). Use for searching X\u002Fx.com, reading threads and replies, creating lists, staging\u002Fpublishing posts for @alltheputs, finding high-visibility reply targets for research outreach, ingesting public context, or any request that mentions \u002Fx-api or \"search X\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]