# Send Supernal Interface to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "supernal-interface",
    "name": "Supernal Interface",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/ianderrington/supernal-interface",
    "canonicalUrl": "https://clawhub.ai/ianderrington/supernal-interface",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/supernal-interface",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=supernal-interface",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "supernal-interface",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T09:57:01.034Z",
      "expiresAt": "2026-05-08T09:57:01.034Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=supernal-interface",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=supernal-interface",
        "contentDisposition": "attachment; filename=\"supernal-interface-1.0.13.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "supernal-interface"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/supernal-interface"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/supernal-interface",
    "downloadUrl": "https://openagent3.xyz/downloads/supernal-interface",
    "agentUrl": "https://openagent3.xyz/skills/supernal-interface/agent",
    "manifestUrl": "https://openagent3.xyz/skills/supernal-interface/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/supernal-interface/agent.md"
  }
}
```
## Documentation

### Installation

npm install @supernal/interface

### Core Concept

Decorate functions → AI can call them with full type safety.

### 1. Decorate Functions

import { Tool } from '@supernal/interface';

class TodoApp {
  @Tool({
    name: 'add_todo',
    description: 'Add a new todo item',
    category: 'productivity'
  })
  async addTodo(text: string): Promise<Todo> {
    return this.db.create({ text, done: false });
  }

  @Tool({
    name: 'complete_todo',
    description: 'Mark a todo as complete'
  })
  async completeTodo(id: string): Promise<void> {
    await this.db.update(id, { done: true });
  }
}

### 2. Set Up Adapter

import { createCopilotKitAdapter, ChatUIProvider } from '@supernal/interface';

const adapter = createCopilotKitAdapter({
  autoRegisterTools: true,
  autoRegisterReadables: true
});

function App() {
  return (
    <ChatUIProvider adapter={adapter}>
      <YourApp />
    </ChatUIProvider>
  );
}

### 3. Done

AI assistants can now discover and call your decorated functions.

### Decorators

DecoratorPurpose@ToolExpose function as AI-callable tool@ToolProviderClass containing multiple tools@ComponentReact component with AI context

### CopilotKit (recommended)

import { createCopilotKitAdapter } from '@supernal/interface';

const adapter = createCopilotKitAdapter({
  autoRegisterTools: true
});

### Custom Adapter

import { ChatUIAdapter } from '@supernal/interface';

class MyAdapter implements ChatUIAdapter {
  name = 'my-adapter';
  registerTools(tools) { /* convert to your format */ }
  render(props) { return <MyChat {...props} />; }
}

### React Hooks

import { useToolBinding, usePersistedState, useChatWithContext } from '@supernal/interface';

// Bind a tool to component state
const [todos, setTodos] = useToolBinding('todos', []);

// Persist state across sessions
const [prefs, setPrefs] = usePersistedState('user-prefs', defaults);

// Chat with app context
const { messages, send } = useChatWithContext();

### Storage Adapters

import { StateManager, LocalStorageAdapter } from '@supernal/interface/storage';

const storage = StateManager.getInstance('myapp', new LocalStorageAdapter());
await storage.setState('user', { name: 'Alice' });

### Testing

import { GherkinParser, TestRunner } from '@supernal/interface/testing';

const feature = GherkinParser.parseFeature(gherkinText);
const tests = await TestRunner.generateTests({ framework: 'jest' });

### Enterprise Features

Available at supernal.ai/enterprise:

Auto test generation from decorators
Story system (50-80% performance boost)
Architecture visualization
Multi-model routing
Audit & compliance logging
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ianderrington
- Version: 1.0.13
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T09:57:01.034Z
- Expires at: 2026-05-08T09:57:01.034Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/supernal-interface)
- [Send to Agent page](https://openagent3.xyz/skills/supernal-interface/agent)
- [JSON manifest](https://openagent3.xyz/skills/supernal-interface/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/supernal-interface/agent.md)
- [Download page](https://openagent3.xyz/downloads/supernal-interface)