OpenParable
Skip to content
← Back to skills

Create Jinx

Development
create_jinx

Create Jinx is an Agent Skill for development published in the NPC-Worldwide/npcpy repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Write a new .jinx file from inputs (name, description, inputs spec as JSON list of strings, python body). Agents use this mid-task to crystallize a repeated block of code into a reusable jinx. The jinx is written to the team's jinxes/lib dir by default and registered with the running team so it is immediately callable without a restart.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/NPC-Worldwide/npcpy/blob/HEAD/skills/create_jinx/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/create-jinx, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

create_jinx

Write a new .jinx file from inputs (name, description, inputs spec as JSON list of strings, python body). Agents use this mid-task to crystallize a repeated block of code into a reusable jinx. The jinx is written to the team's jinxes/lib dir by default and registered with the running team so it is immediately callable without a restart.

Inputs

  • jinx_name
  • description
  • inputs_spec (default: '[]')
  • python_code
  • target_subdir (default: 'lib')

Steps

Usage

/run_jinx jinx_ref=create_jinx input_values={"jinx_name": "<value>", "description": "<value>", "inputs_spec": "[]", "python_code": "<value>", "target_subdir": "lib"}