Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

swirls-lang漩涡郎

Agent Skill

swirls-lang 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

399

周安装

16

GitHub Stars

3

下载量

129
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:swirls-lang(漩涡郎)
来源仓库:https://github.com/byteslicehq/swirls
仓库路径:skills/swirls-lang
安装命令:
npx skills add https://github.com/byteslicehq/swirls --skill swirls-lang
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/byteslicehq/swirls --skill swirls-lang

简介

swirls-lang 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,注意是否会触发联网、命令执行或文件读写。
  • 建议结合原始 README 核验具体用法和功能边界。

SKILL.md

Swirls Language

Comprehensive guide for authoring .swirls workflow files. Covers the full DSL: file structure, graph declarations, all 13 node types, TypeScript / JSON / SQL embedded blocks, the context object, resources, triggers, top-level stream blocks, reviews, failure policies, and known parser pitfalls.

When to Apply

  • Writing new .swirls files from scratch.
  • Adding nodes, graphs, streams, or triggers to existing .swirls files.
  • Debugging parse errors or validation failures from swirls doctor.
  • Writing @ts blocks (TypeScript code in nodes).
  • Defining JSON Schemas for inputs, outputs, forms, and webhooks.
  • Connecting graphs to forms, webhooks, or schedules via triggers.
  • Persisting graph output with top-level stream {} blocks and reading it with type: stream nodes.
  • Configuring human-in-the-loop review blocks.
  • Declaring external Postgres databases and writing parameterized SQL nodes.

Priority

#CategoryImpactPrefixRules
1Language SpecCRITICALspec-READ FIRST. Exhaustive list of valid syntax, keywords, node types, fields. If it is not listed here, it does not exist.
2File StructureHIGHstructure-Top-level declarations, file discovery, comment restrictions
3Graph & Node BasicsCRITICALgraph-Root node, flow block, edges, DAG rules
4Node TypesCRITICALnode-All 13 node types, required/optional fields, secrets map, failure policy
5TypeScript BlocksCRITICALts-@ts patterns, sandbox limits, safe code
6Schema & TypingHIGHschema-JSON Schema, inputSchema/outputSchema/schema placement
7Context ObjectHIGHcontext-context.nodes, context.reviews, context.secrets, context.meta
8Resources & TriggersHIGHresource-Forms, webhooks, schedules, secrets, auth blocks, postgres blocks, top-level stream blocks, trigger bindings
9StreamsMEDIUMstream-Filter operators, field paths, migration from persistence
10ReviewsMEDIUMreview-Human-in-the-loop review config
11Parser PitfallsCRITICALparser-Known parser bugs, silent drops, validator diagnostics

Quick Reference

1. Language Spec (READ FIRST)

  • spec-strict-syntax - Exhaustive list of every valid keyword, node type, config field, edge syntax, and value type. If something is not listed here, it does not exist. Do not invent syntax.
  • spec-common-mistakes - The 23 most common incorrect patterns with corrections. Check your output against these before returning any.swirls code.

2. File Structure

  • structure-top-level-declarations - The nine valid top-level blocks: form, webhook, schedule, graph, stream, trigger, secret, auth, postgres
  • structure-file-discovery - File extensions, discovery rules, .ts.swirls files
  • structure-comments - Comment syntax and ASCII-only restriction

3. Graph & Node Basics

  • graph-anatomy - Graph structure: label, description, root, nodes, flow (persistence block removed)
  • graph-root-node - Every graph needs exactly one root {} block
  • graph-flow-block - Connecting nodes with edges and labeled edges
  • graph-dag-rules - No cycles, one root, edge validation

4. Node Types (13 total)

  • node-code - Code nodes: sandboxed TypeScript execution
  • node-ai - AI nodes: text, object, image, video, embed kinds
  • node-switch - Switch nodes: conditional routing with cases
  • node-http - HTTP nodes: making API requests
  • node-email - Resend nodes (type: resend): sending email via Resend
  • node-scrape - Firecrawl nodes (type: firecrawl): web scraping
  • node-parallel - Parallel nodes: search / extract / findall operations
  • node-stream - Stream nodes: reading persisted stream data with filters
  • node-graph - Graph nodes: calling subgraphs
  • node-wait - Wait nodes: pausing execution
  • node-bucket - Bucket nodes: object storage upload/download
  • node-document - Document nodes: document processing
  • node-postgres - Postgres nodes: parameterized SELECT and INSERT against external databases
  • node-secrets-map - secrets: {block: [VAR]} object-literal syntax (shared across types)
  • node-failure-policy - Optional failurePolicy: for retry / skip / fallback behavior

5. TypeScript Blocks

  • ts-block-syntax - @ts {} inline blocks and @ts "file.ts.swirls" references
  • ts-sandbox-limits - No imports, no fetch, no fs, no network in code nodes
  • ts-safe-patterns - Always-safe patterns vs patterns to avoid
  • ts-no-double-quotes - Use String.fromCharCode(34) instead of literal double-quote
  • ts-no-nested-templates - Use concatenation instead of nested template literals
  • ts-no-dollar-interpolation - Avoid $${} in template literals
  • ts-no-nested-code-blocks - Never nest @ts / @json blocks inside other code blocks

6. Schema & Typing

  • schema-json-schema - JSON Schema format in @json blocks
  • schema-input-output - inputSchema (root only), outputSchema (root only), schema (non-root); strict parser enforcement
  • schema-inline-syntax - Inline object literal schema syntax (no @json)

7. Context Object

  • context-nodes - Accessing upstream node inputs and outputs
  • context-secrets - Declaring and accessing secrets
  • context-reviews - Accessing review form responses
  • context-meta - Execution metadata (triggerId, triggerType)

8. Resources & Triggers

  • resource-form - Form declarations with label, schema, enabled
  • resource-webhook - Webhook declarations
  • resource-schedule - Schedule declarations with cron and timezone
  • resource-stream - Top-level stream {} blocks: graph, schema, condition, prepare
  • resource-trigger-binding - Trigger syntax: resourceType:name -> graphName (form / webhook / schedule only)
  • resource-secrets - Top-level secret {vars: [...]} blocks
  • resource-auth - Top-level auth blocks (oauth, api_key, basic, bearer, cloud) and http-node auth: references
  • resource-postgres - Top-level postgres blocks: connection, table schemas, secret references

9. Streams

  • stream-persistence-block - Migration note: persistence {} removed; use top-level stream {}
  • stream-query-sql - SQL queries replaced by filter: @ts {...} returning a StreamFilter
  • stream-column-naming - Filter field paths: table columns vs output JSON fields

10. Reviews

  • review-config - Review block structure, actions, and fields
  • review-access-downstream - Accessing review data in downstream nodes via context.reviews

11. Parser Pitfalls

  • parser-unicode-comments - Unicode in comments breaks line counting
  • parser-hyphenated-headers - Hyphenated header keys parsed as subtraction
  • parser-double-quotes-in-ts - Double-quote chars inside @ts blocks drop graphs
  • parser-nested-templates - Nested template literals break @ts parsing
  • parser-dollar-interpolation - $${} breaks @ts parsing
  • parser-silent-drops - Parser silently drops graphs with no error
  • parser-cascade-errors - Parse errors cascade past the actual problem
  • parser-validation-checklist - Pre-flight checklist before running swirls doctor
  • parser-validation-rules - Exhaustive list of validator diagnostics and how to fix each

How to Use

Individual rules live in rules/. Each file covers one concept with incorrect / correct examples.

For a single compiled document with all rules, see AGENTS.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.09%
按下载量换算49

Claude

30.49%
按下载量换算39

Cursor

18.43%
按下载量换算24

Gemini CLI

8.73%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills