yida-publish-page

yida-publish-page is a skill for Claude Code, Codex from openyida/openyida-openclaw-skill. It costs 72 tokens per session (1,460 once invoked), scanned A, original, MIT.

A publishing tool for custom pages on 宜搭 (Yida), an application-building platform. It turns JSX page code into the format Yida accepts and sends it to the selected application page.

In plain words
What is it for?
Use it to publish a new custom page or deploy changes to an existing Yida page. It takes an application ID, page ID, and source-file path.
Why use it?
It removes the manual steps of compiling, compressing, packaging, and uploading page code. If the saved login session is missing or expired, it reports that you must log in first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to publish a new custom page or deploy changes to an existing Yida page. It takes an application ID, page ID, and source-file path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openyida/openyida-openclaw-skill/yida-publish-page
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add openyida/openyida-openclaw-skill --skill yida-publish-page
Clone the repo
git clone --depth 1 https://github.com/openyida/openyida-openclaw-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yida-publish-page

README.md
[![agentmods](https://agentmods.dev/badge/skills/openyida/openyida-openclaw-skill/yida-publish-page/github.svg)](https://agentmods.dev/skills/openyida/openyida-openclaw-skill/yida-publish-page)
Your own site
<a href="https://agentmods.dev/skills/openyida/openyida-openclaw-skill/yida-publish-page"><img src="https://agentmods.dev/badge/skills/openyida/openyida-openclaw-skill/yida-publish-page/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yida-publish-page

Your own site · 80×15
<a href="https://agentmods.dev/skills/openyida/openyida-openclaw-skill/yida-publish-page"><img src="https://agentmods.dev/badge/skills/openyida/openyida-openclaw-skill/yida-publish-page.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,460 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.01460
Opus 5 $0.00036 $0.00730
Sonnet 5 $0.00014 $0.00292
Haiku 4.5 $0.00007 $0.00146

Measured 11d ago against content hash 624dff7b8060, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

yida-publish-page scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/babel-transform/build/index.js, scripts/babel-transform/build/jsx-utils.js, scripts/publish.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/yida-publish-page/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

宜搭页面发布技能

概述

本技能提供宜搭自定义页面的完整发布流程:源码编译 → Schema 构建 → 读取登录态(按需触发登录)→ 接口发布。

何时使用

当以下场景发生时使用此技能:

  • 用户需要将开发好的自定义页面发布到宜搭平台
  • 用户修改了页面代码,需要重新部署
  • 开发流程中的最后一步:发布页面

使用示例

示例 1:发布自定义页面

场景:将 JSX 源码编译并发布到宜搭 命令

node .claude/skills/yida-publish-page/scripts/publish.js APP_XXX FORM-XXX pages/src/my-page.js

输出

{"success":true,"formUuid":"FORM-XXX","version":0}

使用方式

cd .claude/skills/yida-publish/scripts
npm install  # 首次需要安装依赖
node publish.js <appType> <formUuid> <源文件路径>

参数说明

参数 说明 示例
appType 应用 ID APP_E0MZ4VB75ZMB1BIGNVT4
formUuid 自定义页面 ID FORM-XXX
源文件路径 源码文件路径(相对于项目根目录) pages/src/xxx.js

baseUrl 无需手动传入,脚本会自动从 .cache/cookies.json 读取登录态,并从中读取 base_url。若 Cookie 不存在或已失效,脚本会报错退出,必须先调用 yida-login skill 完成登录,再重新执行本技能。

示例

node publish.js APP_XXX FORM-XXXXXX pages/src/xxx.js

工作流程

  1. 编译源码:通过 @ali/vu-babel-transform 将 JSX 转换为 ES5,再通过 UglifyJS 压缩
  2. 构建 Schema:通过代码动态构建完整的 Schema JSON,将编译后的 sourcecompiled 填入 actions.module
  3. 读取登录态:读取项目根目录的 .cache/cookies.json若不存在或 Cookie 失效,脚本会报错退出,必须先调用 yida-login skill 完成登录
  4. 发布 Schema:通过 HTTP POST 调用 saveFormSchema 接口保存 Schema
  5. 更新表单配置:调用 updateFormConfig 接口,设置 MINI_RESOURCE 配置为 8

注意:发布目标地址由 .cache/cookies.json 中保存的 base_url 决定(即登录后浏览器实际跳转到的域名),而非 config.json 中的 loginUrl。详见 yida-login 技能文档。 注意:当发布页面碰到组织 corpId 不匹配 或 "您当前未在「xxx」组织内" 时,可以询问是否创建新的应用发布。

前置依赖

  • Node.js 16+
  • 项目根目录存在 .cache/cookies.json(由 yida-login skill 生成)

⚠️ 重要:若 .cache/cookies.json 不存在或 Cookie 已失效,脚本会报错退出,不会自动登录。此时必须先调用 yida-login skill 完成登录,再重新执行本技能。

cd .claude/skills/yida-publish-page/scripts && npm install

文件结构

yida-publish/
├── SKILL.md            # 本文档
└── scripts/
    ├── publish.js      # 发布主脚本(Node.js,内含 Schema 动态构建逻辑)
    ├── package.json    # Node.js 依赖声明
    └── node_modules/   # 依赖包(npm install 后生成)

Read the full file on GitHub · 152 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 152 lines · 72 tokens per session scan A 624dff7b8060

Subscribe to this mod's changes

yida-publish-page is a skill published in the GitHub repository openyida/openyida-openclaw-skill (5 stars, last pushed 6mo ago), licensed MIT. It adds 72 tokens to every session and 1,460 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

menu-transitions-rtl

Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…

asmyshlyaev177/react-horizontal-scrolling-menu · 137 tokens