# Numeric Utils

> 数值调谐公式与术语参考

- **Type:** Skill
- **Install:** `agentstack add skill-lumorax-taifeng-numeric-utils`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [LumoraX](https://agentstack.voostack.com/s/lumorax)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [LumoraX](https://github.com/LumoraX)
- **Source:** https://github.com/LumoraX/taifeng/tree/main/examples/numeric_loop/skills/numeric-utils

## Install

```sh
agentstack add skill-lumorax-taifeng-numeric-utils
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 数值调谐参考

## 术语

| 名称 | 含义 |
| --- | --- |
| **current** | 当前数值 |
| **target** | 目标数值 |
| **delta** | 本轮施加的扰动量(带方向 + 随机噪声) |
| **new** | `current + delta` |
| **gap** | `\|new - target\|` —— 距离目标剩余距离 |
| **收敛** | `gap < 0.5` |

## 公式（apply_delta 内部）

```
direction = sign(target - current)
magnitude = uniform(0.3, 1.5) * |target - current| * 0.4
delta     = direction * magnitude
```

平均步长 = 40% 距离,但 0.3–1.5 倍随机系数 → **有概率 overshoot**。
overshoot 后下一轮方向反转,继续收敛。这就是「震荡回归」。

收敛通常需 5-10 轮。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [LumoraX](https://github.com/LumoraX)
- **Source:** [LumoraX/taifeng](https://github.com/LumoraX/taifeng)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-lumorax-taifeng-numeric-utils
- Seller: https://agentstack.voostack.com/s/lumorax
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
