| name | packwiz-curseforge-add |
| description | Adds CurseForge mods, resource packs, or files to a Minecraft 1.12.2 Forge packwiz modpack. Use when the source is a CurseForge URL, slug, project ID, or file ID. |
Packwiz CurseForge Add
The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL are to be interpreted as described in RFC 2119.
Prerequisite
If packwiz is not available on PATH, the agent MUST install it manually from the GitHub Actions artifacts in the packwiz repository: https://github.com/packwiz/packwiz. The agent MUST verify availability with packwiz --help before running these commands.
The agent SHOULD use CurseForge sources when possible for 1.12.2 Forge packs; packwiz can track project/file IDs and update metadata.
Preferred Commands
The agent SHOULD use exact file URLs or IDs for reproducible 1.12.2 Forge results:
packwiz curseforge add "https://www.curseforge.com/minecraft/mc-mods/<slug>/files/<file-id>"
packwiz curseforge add --addon-id <project-id> --file-id <file-id>
Slug or search forms MAY be used when the desired file is unambiguous:
packwiz curseforge add "<slug>"
packwiz curseforge add --category texture-packs "<slug>"
Workflow
- The agent MUST work from the pack root containing
pack.toml.
- The agent SHOULD prefer a CurseForge file page URL for the specific Minecraft 1.12.2 Forge file.
- If packwiz prompts for dependencies, the agent SHOULD accept REQUIRED dependencies unless the pack already provides an equivalent.
- The agent SHOULD run
packwiz list -v to verify the added file.
- The agent MUST run
packwiz refresh if other files were changed manually.
Guardrails
- The agent SHOULD NOT use
-y with search terms because it MAY choose unwanted results.
- If packwiz rejects a valid adjacent Minecraft version, the agent SHOULD adjust acceptable versions deliberately with
packwiz settings acceptable-versions and MUST NOT switch the pack's primary Minecraft version away from 1.12.2 unless the user requests it.
- For Modrinth, GitHub, or direct downloads, the agent MUST NOT force them through this skill.