1inch SKILL.md skillB

1inch from starchild-ai-agent/official-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add starchild-ai-agent/official-skills/1inch@v2.3.0

Pins v2.3.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
starchild-ai-agent/official-skills
Path
1inch/SKILL.md
Versions recorded
5
Latest version
v2.3.0, committed Jul 14, 2026
First version recorded
May 4, 2026
Size
8,335 bytes
Repository stars
29
License
none declared

1inch DEX aggregator: same-chain EVM swaps, SOL↔EVM cross-chain, limit orders. Use when swapping tokens with best routing or placing limit orders (e.g. ETH→USDC on Base, SOL→ETH cross-chain, limit buy ARB at 0.80).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 1inch (Script-First, Install-and-Use)

This skill is designed for your architecture: **do not rely on platform-injected tools**.

- ✅ Uses only skill-local scripts under `skills/1inch/scripts/`
- ✅ Agent executes scripts via `bash` (`python3 ...`)
- ✅ No `oneinch_*` tool calls required

---

## Why this version fixes “tool not found”

Old design depended on runtime tool registration (`oneinch_quote`, `oneinch_swap`, ...).
If tool injection fails, agent is blocked.

New design uses deterministic local scripts:

1. call 1inch HTTP API directly
2. call wallet service directly (OIDC via `/.fly/api`)
3. print JSON result

So after install, the agent always has a runnable path.

---

## Files

- `scripts/_oneinch_lib.py` — shared client + wallet/OIDC helpers
- `scripts/tokens.py` — token search/list
- `scripts/quote.py` — quote only
- `scripts/check_allowance.py` — allowance check
- `scripts/approve.py` — approve tx broadcast
- `scripts/swap.py` — swap execution (optional auto-approve)
- `scripts/run_swap_flow.py` — one-command flow (quote + optional approve + swap + post-trade balance verification)

---

## Environment

Required:
- `ONEINCH_API_KEY`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add starchild-ai-agent/official-skills/1inch@sha256:81ec5dd6f36bb319

The line at the top of this page pins the label v2.3.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_kyfgx2ulwpfipfyj.svg)](https://markdownregistry.com/a/art_kyfgx2ulwpfipfyj)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between May 4, 2026 and Jul 14, 2026, about one every 18 days.

versioncommittedcommitsizeaudit
v2.3.0 latest2026-07-14 98a8254 8,335 BB view · diff
v2.2.12026-05-21 868b4d4 8,335 BB view · diff
v2.2.02026-05-09 ad35d27 8,214 BB view · diff
v2.1.12026-05-04 cdac6e5 8,214 BB view · diff
v2.1.02026-05-04 9ce4f75 8,230 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8335 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

starchild-ai-agent/official-skills · 29 stars · license none declared · pushed 2026-10-30 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_kyfgx2ulwpfipfyj
GET https://markdownregistry.com/api/v1/resolve?ref=starchild-ai-agent/official-skills/1inch
GET https://markdownregistry.com/api/v1/blob/81ec5dd6f36bb319c1d8d15c5319fb6427d8169a23c0aebafe5755af2af6ad11

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from starchild-ai-agent/official-skills

PANews SKILL.md skill
starchild-ai-agent/official-skills · PANews/SKILL.md · PANews crypto news: headlines, articles, columns, events, smart money boards. Use when reading PANews coverage or…
v1.0.1 · audit A · 29 stars
shopify SKILL.md skill
starchild-ai-agent/official-skills · Shopify/SKILL.md · Shopify development skills: Admin GraphQL, Storefront, Hydrogen, Liquid, Polaris, Functions, POS, and more. Use when…
v1.0.0 · audit A · 29 stars
shopify-admin SKILL.md skill
starchild-ai-agent/official-skills · Shopify/shopify-admin/SKILL.md
git:20260606.5f3d89c · audit C · 29 stars
shopify-custom-data SKILL.md skill
starchild-ai-agent/official-skills · Shopify/shopify-custom-data/SKILL.md
git:20260606.5f3d89c · audit C · 29 stars
shopify-customer SKILL.md skill
starchild-ai-agent/official-skills · Shopify/shopify-customer/SKILL.md
git:20260606.5f3d89c · audit C · 29 stars
shopify-dev SKILL.md skill
starchild-ai-agent/official-skills · Shopify/shopify-dev/SKILL.md
git:20260606.5f3d89c · audit C · 29 stars
shopify-functions SKILL.md skill
starchild-ai-agent/official-skills · Shopify/shopify-functions/SKILL.md
git:20260606.5f3d89c · audit C · 29 stars
shopify-hydrogen SKILL.md skill
starchild-ai-agent/official-skills · Shopify/shopify-hydrogen/SKILL.md
git:20260914.5098bda · audit C · 29 stars
shopify-liquid SKILL.md skill
starchild-ai-agent/official-skills · Shopify/shopify-liquid/SKILL.md
git:20260606.5f3d89c · audit C · 29 stars
shopify-partner SKILL.md skill
starchild-ai-agent/official-skills · Shopify/shopify-partner/SKILL.md
git:20260606.5f3d89c · audit C · 29 stars
shopify-payments-apps SKILL.md skill
starchild-ai-agent/official-skills · Shopify/shopify-payments-apps/SKILL.md
git:20260606.5f3d89c · audit C · 29 stars
shopify-polaris-admin-extensions SKILL.md skill
starchild-ai-agent/official-skills · Shopify/shopify-polaris-admin-extensions/SKILL.md
git:20260606.5f3d89c · audit C · 29 stars

Every file in starchild-ai-agent/official-skills

Browse by kind, by grade B, or by owner.