Skip to content
Skillv1.0.0

ucode

AGENTS.md — ucode module

by LuminairPrime(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from LuminairPrime/openwrt-docs4ai-pipeline (openwrt-condensed-docs-renamed/release-tree/ucode/AGENTS.md). Install upstream with npx skills add LuminairPrime/openwrt-docs4ai-pipeline --skill ucode. Copyright stays with the author.

AGENTS.md — ucode module

Scope

ucode is a lightweight scripting language for OpenWrt, similar to JavaScript but NOT JavaScript.

Language Warning

ucode has JavaScript-like syntax but is a distinct language. Do NOT use Node.js APIs, browser APIs, or ES module syntax. The runtime is C-based with embedded modules: fs, ubus, uci, uloop, nl80211, rtnl.

Start Here

  • map.md → overview of all ucode stdlib and module APIs
  • chunked-reference/c_source-api-module-uci.md → ucode UCI bindings
  • types/ucode.d.ts → IDE type definitions for autocompletion

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/luminairprime-openwrt-docs4ai-pipeline-ucode/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

luminairprime-openwrt-docs4ai-pipeline-ucode.ocm.jsonjson
{
  "ocm": "1",
  "id": "luminairprime-openwrt-docs4ai-pipeline-ucode",
  "kind": "skill",
  "name": "ucode",
  "description": "AGENTS.md — ucode module",
  "publisher": "LuminairPrime",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "AGENTS.md — ucode module"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/LuminairPrime/openwrt-docs4ai-pipeline",
      "path": "openwrt-condensed-docs-renamed/release-tree/ucode/AGENTS.md",
      "ref": "1f8decdc7c57821e1d5e847058e4d3b91c44cfa8",
      "url": "https://github.com/LuminairPrime/openwrt-docs4ai-pipeline/blob/1f8decdc7c57821e1d5e847058e4d3b91c44cfa8/openwrt-condensed-docs-renamed/release-tree/ucode/AGENTS.md",
      "key": "LuminairPrime/openwrt-docs4ai-pipeline/openwrt-condensed-docs-renamed/release-tree/ucode/AGENTS.md"
    }
  },
  "instructions": "# AGENTS.md — ucode module\r\n\r\n## Scope\r\nucode is a lightweight scripting language for OpenWrt, similar to JavaScript but NOT JavaScript.\r\n\r\n## Language Warning\r\nucode has JavaScript-like syntax but is a distinct language. Do NOT use Node.js APIs, browser APIs, or ES module syntax.\r\nThe runtime is C-based with embedded modules: fs, ubus, uci, uloop, nl80211, rtnl.\r\n\r\n## Start Here\r\n- `map.md` → overview of all ucode stdlib and module APIs\r\n- `chunked-reference/c_source-api-module-uci.md` → ucode UCI bindings\r\n- `types/ucode.d.ts` → IDE type definitions for autocompletion",
  "cost": {
    "context_tokens": 144
  }
}

Fetch it by URL: GET /api/v1/registry/luminairprime-openwrt-docs4ai-pipeline-ucode/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.