Agent skill

Abs Syntax Reference

by ailyProject in ailyProject/aily-blockly

ABS 语法快速参考:权威 ABS 规则与示例 skill,覆盖块连接类型、参数顺序、语句输入、变量引用与常见示例。触发词:ABS、语法、块脚本

GPL-3.0Auto-check passedDevelopment

Install Abs Syntax Reference

skills CLI
$ npx skills add ailyProject/aily-blockly --skill abs-syntax-reference -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ailyProject/aily-blockly abs-syntax-reference --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ailyProject/aily-blockly.git skills-src && mkdir -p .claude/skills && cp -r skills-src/public/skills/abs-syntax-reference .claude/skills/abs-syntax-reference && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
abs-syntax-reference
GitHub stars
3.8k
Token cost
~1.1k tokens
SKILL.md length
198 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
GPL-3.0

At a glance

ABS 语法快速参考:权威 ABS 规则与示例 skill,覆盖块连接类型、参数顺序、语句输入、变量引用与常见示例。触发词:ABS、语法、块脚本

  • Works in 4 steps: 读取当前 project.abs 并从具体报错位置开始定位;host 已在提交… → 仅当工作区可能在 turn 开始后发生变化时,才使用 syncAbs… → 对照相关库 readme_ai.md 或 block.json 的 args0… → …
  • Tasks that involve Embedded systems
  • SKILL.md covers Block Connection Types, Syntax Rules, Parameter Types and 参数顺序规则, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Abs Syntax Reference is an agent skill from ailyProject/aily-blockly. ABS 语法快速参考:权威 ABS 规则与示例 skill,覆盖块连接类型、参数顺序、语句输入、变量引用与常见示例。触发词:ABS、语法、块脚本

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Embedded systems. The repository describes itself as: AI IDE for hardware development, support Arduino, MicroPython, ESP32, STM32, RP2040, Nrf5x... The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Embedded systems

Example prompts

  • “/abs-syntax-reference”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 读取当前 project.abs 并从具体报错位置开始定位;host 已在提交 turn 前同步可见工作区。
  2. 仅当工作区可能在 turn 开始后发生变化时,才使用 syncAbs action="export" 刷新文件。
  3. 对照相关库 readme_ai.md 或 block.json 的 args0 顺序,修正参数位置、缩进和值块包装方式。
  4. 使用当前 host 同步能力重新导入并验证,依据最近的报错做最小修复。

What it can do on your machine

Read from SKILL.md and the folder at commit 4aace5a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are abs).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Abs Syntax Reference loads about 1.1k tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 198 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ailyProject/aily-blockly at commit 4aace5a, republished under its GPL-3.0 licence (© ailyProject). 198 words, ~1,051 tokens.

Download SKILL.mdSave it as .claude/skills/abs-syntax-reference/SKILL.md (or your agent's skills folder).
name
abs-syntax-reference
description
ABS 语法快速参考:权威 ABS 规则与示例 skill,覆盖块连接类型、参数顺序、语句输入、变量引用与常见示例。触发词:ABS、语法、块脚本
metadata.version
1.0.0
metadata.author
aily-team
metadata.scope
global
metadata.agents
mainAgent
metadata.auto-activate
false
metadata.tags
abs,syntax,reference,blockly

ABS (Aily Block Syntax) 快速参考

本 skill 只负责 ABS 语法规则与示例。项目规划、库安装、证据读取、工作区同步和验证流程由当前 host profile、可用工具说明及 blockly-best-practices skill 负责;不要从本语法参考重建那些流程。

使用库块时,参数顺序必须来自该库当前的 readme_ai.md 或 block.json,不能仅根据本文件中的通用示例推断。

Block Connection Types

TypeRoleParameter Style
Value作为值嵌入到其他块参数中所有参数都写在括号内:logic_compare($a, EQ, $b)
Statement独立成行,通过 next 串联普通参数写在括号内,语句输入使用 @NAME:
Hat根入口块,如 arduino_setup、arduino_loop规则与 Statement 相同

Syntax Rules

ElementSyntaxExample
Block callblock_type(param1, param2)serial_println(Serial, text("Hi"))
Empty paramsblock_type()time_millis()
Statement input@NAME: + 换行 + 缩进@DO0:\n action()
Variable ref$varName$count, $sensor

Parameter Types

TypeSyntaxExample
DropdownENUM_VALUESerial, HIGH, EQ, AND
Text"string""hello", "dht"
Number1239600, 13
Variable$name$count, $temp
Value blockblock(args)math_number(10), $var

参数顺序规则

参数顺序必须严格遵循 block.json 中 args0 的定义顺序,字段和输入可能交错出现,不能想当然地把下拉字段放到最前面。

例如 logic_compare 的 args0 顺序是:A(input_value), OP(field_dropdown), B(input_value),因此:

  • 正确:logic_compare($a, EQ, $b)
  • 错误:logic_compare(EQ, $a, $b)

Value Blocks

值块的所有参数都必须写在括号里,不能使用命名输入。

abs
# Comparison: logic_compare(A, OP, B)
logic_compare($a, EQ, math_number(10))
logic_compare($temp, GT, math_number(30))

# Logic: logic_operation(A, OP, B)
logic_operation($sensor1, AND, $sensor2)
logic_operation(logic_compare($a, GT, math_number(0)), OR, logic_compare($a, LT, math_number(100)))

# Math: math_arithmetic(A, OP, B)
math_arithmetic($a, ADD, $b)

# Ternary: logic_ternary(condition, trueValue, falseValue)
logic_ternary(logic_compare($score, GTE, math_number(90)), text("A"), text("B"))

# Negate
logic_negate($flag)

# Boolean
logic_boolean(TRUE)

Statement Blocks with Statement Inputs

语句输入必须使用 @NAME:,并且子块体使用 4 个空格缩进。

abs
# If-Else: statement inputs use @NAME:
controls_if()
    @IF0: logic_compare($temp, GT, math_number(30))
    @DO0:
        serial_println(Serial, text("Hot"))
    @ELSE:
        serial_println(Serial, text("OK"))

# If-ElseIf-Else
controls_if()
    @IF0: logic_compare($v, GT, math_number(100))
    @DO0:
        action1()
    @IF1: logic_compare($v, GT, math_number(50))
    @DO1:
        action2()
    @ELSE:
        action3()

# Loop
controls_repeat_ext(math_number(10))
    serial_println(Serial, text("Loop"))

controls_for($i, math_number(0), math_number(10), math_number(1))
    serial_println(Serial, $i)

Simple Statement Blocks

无语句输入的语句块,同样全部使用括号参数。

abs
serial_begin(Serial, 115200)
serial_println(Serial, text("Hello"))
serial_println(Serial, $count)
time_delay(math_number(1000))
variables_set($count, math_number(0))
math_change($count, math_number(1))

Program Structure

abs
arduino_setup()
    serial_begin(Serial, 115200)

arduino_loop()
    serial_println(Serial, text("Hello"))
    time_delay(math_number(1000))

Variable Reference Context

Target Type$var Becomes
field_variable变量字段,如 variables_set($x, ...)
input_valuevariables_get 表达式,如 serial_println(Serial, $x)

Checklist

  • 必须写括号:block(),不能省略为 block
  • input_value 位置的数字应写成 math_number(n)
  • input_value 位置的文本应写成 text("s")
  • 下拉值使用枚举值,如 HIGH、Serial、EQ、AND
  • 语句体使用 4 空格缩进
  • 只有语句输入才使用命名输入:@IF0:、@DO0:、@ELSE:
  • 值块的所有参数都在括号里,不能写命名输入
  • 参数顺序严格遵循 block.json 的 args0 定义,而不是“字段优先”

调试建议

  1. 读取当前 project.abs 并从具体报错位置开始定位;host 已在提交 turn 前同步可见工作区。
  2. 仅当工作区可能在 turn 开始后发生变化时,才使用 syncAbs action="export" 刷新文件。
  3. 对照相关库 readme_ai.md 或 block.json 的 args0 顺序,修正参数位置、缩进和值块包装方式。
  4. 使用当前 host 同步能力重新导入并验证,依据最近的报错做最小修复。

© ailyProject, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in public/skills/abs-syntax-reference of ailyProject/aily-blockly.

Open the folder on GitHubat commit 4aace5a

Compare with similar skills

Abs Syntax Reference next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Abs Syntax Reference compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Abs Syntax Reference this skillailyProject/aily-blockly3.8k—~1.1kAutomated safety check: PassGPL-3.0
Authoring VPhone Patch SetsLakr233/vphone-cli15k—~4.6kAutomated safety check: PassMIT
Sipeed I2C and SPI Hardware Controlsipeed/picoclaw30k—~578Automated safety check: PassMIT
RuView Hardware Setupruvnet/RuView97k—~1.8kAutomated safety check: NotesMIT
Esp32 Firmware Engineeralxv2016/folloup-sticky1161 repos~3.8kAutomated safety check: PassGPL-3.0
ExecuTorch Binary Size Reductionpytorch/executorch5.1k—~793Automated safety check: PassCustom licence

Similar skills

  • Authoring VPhone Patch Sets

    Lakr233/vphone-cli

    Explains how to declare a firmware patch in a vphone patch set, add a new set, or write a preset, including naming, gating and the checks that catch undeclared patches.

    15k GitHub stars~4.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Reads and controls I2C and SPI peripherals on Sipeed boards such as LicheeRV Nano, MaixCAM and NanoKVM through the i2c and spi tools.

    30k GitHub stars~578 tokensUpdated 14 days ago
    DevelopmentAuto-check passed
  • Brings a RuView CSI sensing node online by building ESP32-S3 or ESP32-C6 firmware, flashing the board, provisioning WiFi and checking the serial output.

    97k GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check: notes
  • Esp32 Firmware Engineer

    alxv2016/folloup-sticky

    ESP32 firmware engineering for ESP-IDF projects. An agent skill from alxv2016/folloup-sticky.

    116 GitHub starsUsed in 1 repo~3.8k tokens
    DevelopmentAuto-check passed
  • Measures and shrinks the ExecuTorch runtime binary by building a size test, analyzing it with bloaty and landing each reduction as its own pull request.

    5.1k GitHub stars~793 tokensUpdated today
    DevelopmentAuto-check passed
  • Sets up and runs 60 GHz and 24 GHz mmWave radar sensing on ESP32 boards in RuView, alone or fused with WiFi CSI.

    97k GitHub stars~907 tokensUpdated today
    DevelopmentAuto-check: notes

More from ailyProject/aily-blockly

  • Blockly Best Practices

    ailyProject/aily-blockly

    Aily Blockly implementation workflow for scoped library evidence, ABS editing, workspace synchronization, and focused validation.

    3.8k GitHub stars~962 tokensUpdated today
    Auto-check passed
  • Chronicle

    ailyProject/aily-blockly

    Analyze indexed Aily chat session history for prior decisions, tool executions, project summaries, usage tips, and session-store reindexing.

    3.8k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Library Migration Guide

    ailyProject/aily-blockly

    Complete guide for converting Arduino/ESP32 hardware libraries into Aily Blockly compatible format.

    3.8k GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Blockly Project Planning

    ailyProject/aily-blockly

    Blockly project planning and creation workflow for no-project hardware requests.

    3.8k GitHub stars~630 tokensUpdated today
    Auto-check passed
  • Review

    ailyProject/aily-blockly

    Review uncommitted code changes

    3.8k GitHub starsUsed in 1 repo~274 tokens
    Auto-check passed

Categories

Questions about Abs Syntax Reference

What does Abs Syntax Reference do?

ABS 语法快速参考:权威 ABS 规则与示例 skill,覆盖块连接类型、参数顺序、语句输入、变量引用与常见示例。触发词:ABS、语法、块脚本. Abs Syntax Reference is an agent skill from ailyProject/aily-blockly.

When should I use Abs Syntax Reference?

Abs Syntax Reference fits situations like: tasks that involve Embedded systems.

How do I install Abs Syntax Reference in Claude Code?

Run `npx skills add ailyProject/aily-blockly --skill abs-syntax-reference -a claude-code`. Or copy the skill folder (public/skills/abs-syntax-reference in ailyProject/aily-blockly) into .claude/skills/abs-syntax-reference in your project. Claude Code loads it when a task matches its description.

How do I install Abs Syntax Reference in Codex?

Run `npx skills add ailyProject/aily-blockly --skill abs-syntax-reference -a codex`. Or copy the skill folder (public/skills/abs-syntax-reference in ailyProject/aily-blockly) into .agents/skills/abs-syntax-reference in your project. Codex loads it when a task matches its description.

Can I use Abs Syntax Reference in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ailyProject/aily-blockly --skill abs-syntax-reference -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/abs-syntax-reference, .gemini/skills/abs-syntax-reference, .github/skills/abs-syntax-reference and .opencode/skills/abs-syntax-reference in your project.

What does Abs Syntax Reference need to run?

SKILL.md names no scripts, command-line tools or credentials: Abs Syntax Reference is instructions for the agent only.

Does Abs Syntax Reference access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Abs Syntax Reference safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Abs Syntax Reference use?

Abs Syntax Reference is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Abs Syntax Reference use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Abs Syntax Reference?

Skills that share tags, products or a category with Abs Syntax Reference: Authoring VPhone Patch Sets (Lakr233/vphone-cli, 15k stars), Sipeed I2C and SPI Hardware Control (sipeed/picoclaw, 30k stars), RuView Hardware Setup (ruvnet/RuView, 97k stars) and Esp32 Firmware Engineer (alxv2016/folloup-sticky, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Abs Syntax Reference?

ailyProject (a GitHub organization) maintains it in ailyProject/aily-blockly, which has 3,832 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 8, 2026.

Source: ailyProject/aily-blockly on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.