← 返回 Skills 市场
seasonrui

IGA Pages

作者 seasonrui · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ⚠ suspicious
240
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install iga-pages
功能描述
Deploy frontend and full-stack projects to IGA Pages. Use when the user mentions IGA Pages or requests deployment ("deploy my app", "publish this site", "pus...
使用说明 (SKILL.md)

IGA Pages Skill

Two areas: CLI (iga tool for auth, link, dev, build, deploy) and Project development (functions, API routes).

Run iga \x3Ccommand> -h for full flag details.

Critical: CLI Version

The @iga-pages/cli version must be >= 1.0.3. Check with iga --version; if it's older (or not installed), upgrade before running any other command:

npm i -g @iga-pages/cli@latest

Critical: Framework Compatibility

Supported frameworks: Next.js, Vite, Vue CLI, Create React App, Angular, Hexo, Docusaurus, VitePress, VuePress, Hugo. Frameworks not in this list (e.g. Nuxt, Remix, Astro) are unsupported — proactively inform the user before proceeding.

Pure static assets (plain HTML/JS/CSS) can also be deployed — the project root is used as the output directory by default.

Critical: Login Authentication

Before any deploy or link command, authenticate with iga login. The login method depends on the environment:

  • Local IDE (VS Code, TRAE desktop, etc.) → browser login:

    iga login
    

Wait for the user to complete browser auth. The CLI prints a success message when done.

  • Remote / headless environment (SSH, Cowork, CI/CD, cloud dev container, etc.) → AK/SK login:
    iga login --accessKey \x3CYOUR_AK> --secretKey \x3CYOUR_SK>
    
    Browser-based login is unavailable in headless environments; AK/SK is the only option. Obtain AK/SK from the Volcengine IAM console.

To determine the environment: if the session has no display or browser access (e.g., $SSH_CONNECTION is set, running inside a container, or the user mentions they are on a remote machine), default to AK/SK login. Otherwise, prefer browser for its simplicity.

Critical: Working Directory

All iga commands must run inside the project root. Scaffolding tools (create-next-app, npm create vite, hugo new site, etc.) create a subdirectory — you must cd into it before any iga command:

npx create-next-app@latest my-app --yes
cd my-app && iga pages deploy --name my-app

Quick Reference

npm i -g @iga-pages/cli

iga login                         # local IDE: opens browser
iga login --accessKey \x3CAK> --secretKey \x3CSK>  # remote/headless: AK/SK login

## new project
iga pages deploy --name \x3Cmy-app>   # deploy (auto-creates project on first run)
## project already linked
iga pages deploy

iga pages link                     # link to existing project without deploying
iga pages dev                      # local dev server
iga pages build                    # build for production
  • deploy auto-detects GitHub remote → Git deploy; otherwise → upload deploy. Only GitHub is supported for Git integration.
  • If deploy output includes a preview URL with ?iga_token=...&iga_time=..., share that full URL (query included); omitting it can break access.

Anti-Patterns

CLI

  • Running iga commands outside the project directory → always cd into the scaffolded subdirectory first
  • Deploy without login → always iga login first
  • Committing .iga/ → it's auto-gitignored, don't remove the entry
  • provider: "upload_v2" with GitHub remote → delete .iga/project.json and redeploy to switch to Git deploy
安全使用建议
This skill appears to be a straightforward guide for using the IGA Pages CLI, but it asks you to install an npm package and to provide cloud access keys for headless deployments while the registry metadata does not declare those credentials. Before installing or running it: (1) verify the @iga-pages/cli package on npm and find its source repository and author — do not install a CLI you can't audit; (2) prefer browser-based login when possible; if you must use AK/SK, create least-privilege, short-lived keys in a throwaway/test project first; (3) never share preview URLs publicly because the query parameters include access tokens; treat them like secrets; (4) ask the publisher for a homepage or source repo (none is listed) and confirmation of exactly what permissions the AK/SK require; (5) if you plan to run this in CI, review the CLI's code or run it in an isolated environment first. These steps will reduce the risk that an untrusted CLI or mis-scoped keys could be abused.
功能分析
Type: OpenClaw Skill Name: iga-pages Version: 1.0.5 The iga-pages skill bundle is a legitimate deployment tool for the IGA Pages platform (associated with Volcengine/ByteDance). It provides instructions for installing the '@iga-pages/cli' npm package, authenticating via browser or AccessKey/SecretKey, and managing serverless functions. The code and documentation (SKILL.md, functions.md) are consistent with standard cloud deployment workflows and contain no evidence of malicious intent, data exfiltration, or harmful prompt injection.
能力评估
Purpose & Capability
The skill's name and description (deploy to IGA Pages) match the instructions, which center on using the @iga-pages/cli to build, link, and deploy projects. However, the SKILL metadata declares no required credentials or environment variables even though the runtime instructions require access keys (AK/SK) for headless login and reference detecting headless environments via $SSH_CONNECTION. That mismatch (no declared required creds but clear runtime credential needs) is a minor inconsistency.
Instruction Scope
The instructions are explicit about commands to run (npm i -g @iga-pages/cli, iga login, iga pages deploy), which is expected. Concerns: (1) they direct use of AK/SK for headless auth (sensitive credentials) and tell agents/users to include those on the CLI; (2) they instruct sharing full preview URLs that include query tokens (?iga_token=...&iga_time=...), which are essentially bearer tokens and should not be treated as public links; (3) they reference using $SSH_CONNECTION to auto-detect headless environments but the skill metadata did not declare this env var usage. These behaviors expand the scope to handling sensitive secrets and decisions based on environment state.
Install Mechanism
There is no install spec in the registry (instruction-only), but the runtime guidance tells users to install @iga-pages/cli via npm (npm i -g @iga-pages/cli@latest). Installing a third-party CLI from the npm registry is a common pattern but is a moderate-risk operation because it will run arbitrary code from that package; the SKILL.md does not point to a source repo or homepage for verification.
Credentials
The skill requires credentials in practice (AK/SK) for headless deployments and references Volcengine's IAM console as the source of keys, but the skill metadata lists no required environment variables or primary credential. The instructions also reference $SSH_CONNECTION for environment detection. Requesting cloud access keys is proportionate to a deploy tool, but the omission in metadata and no guidance on scope/permissions for the keys (least privilege, temporary keys) is a red flag: users may be prompted to supply high-privilege long-lived keys without guidance.
Persistence & Privilege
The skill is not forced-always and does not request persistent presence or modify other skills; model invocation is allowed (default) which is normal. There is no install-time modification of other agent configs in the provided instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install iga-pages
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /iga-pages 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
- Minimum required CLI version updated to @iga-pages/cli >= 1.0.3. - Browser login instructions clarified: wait for the CLI's success message after auth. - Added note: always share the **full** preview URL (including query params) after deployment for proper access. - Minor descriptions and wording improvements for login workflows.
v1.0.4
- Major documentation cleanup: all in-depth reference files removed for a more concise skill guide. - Skill instructions now focus on critical requirements: CLI version, login method, framework support, and working directory rules. - Quick command reference and anti-patterns summarized for faster onboarding. - GitHub is the only supported Git integration for deploys; all other cases use upload deploy. - API development and backend hints now referenced directly in the skill description.
v1.0.3
Version 1.0.3 of iga-pages has no detected file changes. - No updates or modifications were made in this version. - All features and documentation remain unchanged.
v1.0.2
- Clarified the difference between `deploy` and `link`: now recommends using `iga pages deploy` directly for new projects, and `iga pages link` only for connecting to existing projects without deploying. - Updated quick start instructions to reflect the simplified deploy command sequence. - Noted that the local development server (`iga pages dev`) does not require linking beforehand. - No code or functional changes; documentation improvements only.
v1.0.1
- Added link to obtain AK/SK from the Volcengine IAM console in project linking instructions. - Clarified that only specific frameworks are supported, and now proactively warn users if their framework is unsupported before deployment or scaffolding. - Referenced `references/frameworks.md` for framework output directory details.
v1.0.0
Initial release of the iga-pages skill. - Supports IGA Pages CLI workflow: login, link, local dev, build, and deploy commands. - Explains project linking and authentication requirements for deployment. - Documents correct working directory usage and common anti-patterns. - Outlines serverless functions (api/ routes) and key limitations. - Provides a command reference and a decision tree for relevant documentation topics.
元数据
Slug iga-pages
版本 1.0.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 6
常见问题

IGA Pages 是什么?

Deploy frontend and full-stack projects to IGA Pages. Use when the user mentions IGA Pages or requests deployment ("deploy my app", "publish this site", "pus... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 240 次。

如何安装 IGA Pages?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install iga-pages」即可一键安装,无需额外配置。

IGA Pages 是免费的吗?

是的,IGA Pages 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

IGA Pages 支持哪些平台?

IGA Pages 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 IGA Pages?

由 seasonrui(@seasonrui)开发并维护,当前版本 v1.0.5。

💬 留言讨论