# Create Jinx

> Write a new .jinx file from inputs (name, description, inputs spec as Use when this capability is needed.

- Skill: `tomevault-io/create-jinx` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/create-jinx`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/create-jinx/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/create-jinx

---


# 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

- `write_jinx` → [`write_jinx.py`](./write_jinx.py)

## Usage

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

---
> Source: [NPC-Worldwide/npcpy](https://github.com/NPC-Worldwide/npcpy) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-07-02 -->

