Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

use-toon

БесплатноБез исполняемых скриптовНе проверен

Use TOON (Token-Oriented Object Notation) with schema.org vocabulary for prompting and instructing subagents and builtin agents. Use when delegating tasks to…

majiayu000от majiayu000★ 31 звезда на GitHub

Об этом скилле

TOON with schema.org vocabulary provides a standard format for prompting and instructing agents. Use it to structure task delegation, specify expected outputs, and ensure consistent responses from subagents and builtin agents.

Key benefits:

  • Clear task structure: schema.org Action types define what the agent should do
  • Expected output format: Specify result type so agents return consistent data
  • Token efficiency: 30-60% fewer tokens than JSON = more context for agent reasoning
  • Semantic interoperability: Standard vocabulary eliminates ambiguity
**Object**: `key: value`

Nested: Indentation (2 spaces)

Simple array: items[3]: a,b,c

Tabular array (uniform objects):

users[2,]{id,name}:
  1,Alice
  2,Bob
| Use TOON | Use JSON | |----------|----------| | Agent task prompts | External API calls | | Subagent instructions | Parsing with JSON.parse() | | Expected response format | Human debugging | | Agent-to-agent data | Deeply nested structures |
Structure agent tasks as schema.org Actions:
@type: SearchAction
@id: task-001
description: Find all error handling patterns in the codebase

object:
  @type: SoftwareSourceCode
  codeRepository: ./src

expectedResult:
  @type: ItemList
  description: Files with error handling patterns

The agent knows:

  • What to do: SearchAction = find/search
  • What to search: object defines the target
  • What to return: expectedResult specifies format
When instructing agents, include:
[Task description in natural language]

Input:
[TOON block with @type, @id, and structured data]

Return your result in TOON format using:
- @type: [expected type, e.g., ItemList, Report, SearchAction]
- @id: [task-id]-result
- Use tabular notation for lists
| Task | schema.org Type | Use | |------|-----------------|-----| | Find/search | `SearchAction` | Code search, file discovery | | Create/generate | `CreateAction` | Generate code, create files | | Modify/update | `UpdateAction` | Edit files, refactor code | | Validate/review | `AssessAction` | Code review, validation | | Delete/remove | `DeleteAction` | Remove files, clean up | | Analyze | `AnalyzeAction` | Code analysis, metrics |
name: Alice
age: 30
active: true
score: null

Types auto-detected: strings, numbers, booleans, null.

```toon user: name: Alice address: city: Boston zip: 02101 ``` Use 2-space indentation for nesting.
tags[3]: red,green,blue
ids[4]: 1,2,3,4

Format: key[count]: item1,item2,...

For arrays of uniform objects (most efficient):
users[3,]{id,name,role}:
  1,Alice,admin
  2,Bob,user
  3,Carol,user

Format: key[rowCount,]{col1,col2,...}:

Each row provides values in column order, comma-separated.

Use schema.org types and properties as shared vocabulary between agents. Every TOON object MUST include: - `@type`: schema.org type (e.g., `Person`, `SearchAction`, `ItemList`) - `@id`: Unique identifier for the object
@type: Person
@id: user-123
name: Alice
email: [email protected]
| Type | Use Case | Key Properties | |------|----------|----------------| | `Action` | Task execution | agent, object, result, actionStatus | | `SearchAction` | Search/find operations | query, result | | `CreateAction` | Creation operations | result, targetCollection | | `UpdateAction` | Modifications | targetCollection, result | | `AssessAction` | Validation/review | result, actionStatus | | `ItemList` | Collections | itemListElement, numberOfItems | | `Thing` | Generic entity | name, description, identifier | | `CreativeWork` | Documents/code | author, dateCreated, text | | `SoftwareSourceCode` | Code snippets | programmingLanguage, codeRepository | For Action types, use `actionStatus` property:
Status Meaning
PotentialActionStatus Not yet started
ActiveActionStatus In progress
CompletedActionStatus Successfully finished
FailedActionStatus Failed with error
@type: SearchAction
@id: search-001
actionStatus: CompletedActionStatus
query: auth handlers
resultCount: 3
Use `@type` for nested objects too:
@type: CreateAction
@id: create-file-001
actionStatus: CompletedActionStatus

result:
  @type: SoftwareSourceCode
  name: auth.ts
  programmingLanguage: TypeScript

agent:
  @type: SoftwareApplication
  name: CodeAgent
Prefer schema.org property nam
Полный SKILL.md на GitHub

Установить use-toon в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

metadata.json

FAQ

Что делает скилл use-toon?

Use TOON (Token-Oriented Object Notation) with schema.org vocabulary for prompting and instructing subagents and builtin agents. Use when delegating tasks to agents, structuring agent prompts, or specifying expected response formats. DO NOT use for external API calls or when JSON parsing is required.

Как установить скилл use-toon?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл use-toon запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить use-toon с