# Percent Change

> Use this skill to compute the percentage change from an old value to a new value, plus absolute change and direction. Handles old=0. Deterministic, offline. For metrics/analytics.

- Skill: `ncreighton/percent-change` (Agent Skill, multi-file: 10 files)
- Install (CLI): `npx skillmds@latest add ncreighton/percent-change`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ncreighton/percent-change/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: ncreighton (https://skillmd.com/u/ncreighton)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/ncreighton/percent-change

---


# percent-change

Use this skill to compute the percentage change from an old value to a new value, plus absolute change and direction. Handles old=0. Deterministic, offline. For metrics/analytics.

- **Kind**: analyzer  |  **Niche**: reviews  |  **Cost tier**: free  |  **Version**: 0.1.0

## Empire Integration
```python
import sys
sys.path.insert(0, r'C:\D\Claude Code Projects\_SHARED')
import empire_bootstrap  # wires all shared paths
```

## Usage

**As a CLI:**
```bash
python run.py --old <number> --new <number>
```

**From a Python agent (ATEN runtime):**
```python
from skill_library import executor
result = executor.execute("percent-change", {old=..., new=...})
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `old` | number | yes | Original value |
| `new` | number | yes | New value |

## Returns

`object` — `{"status": "ok"|"error", "result": ...}`

