Token导航 LogoToken导航

Agent Skill · 效率

ink-skill(墨功)

ink-skill 用于处理数据库查询、表结构、迁移和数据维护任务,适合在 OpenClaw 中需要分析 schema、编写 SQL 或排查数据问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ink-skill 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 6,545。

总安装 9,204周安装 376GitHub Stars 公开资料未说明下载 2,948核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.0

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install ink-skill

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

ink-skill 用于 Ink 云平台上的项目部署、数据库管理与 DNS 配置。适用于快速搭建无服务器应用与托管后端服务。ink-skill 属于效率类 Skill,可作为该场景下的辅助能力补充。通过 clawhub 安装后,可调用 CLI 命令完成环境初始化。

使用前应注册 Ink 账户并获取 API token 授权。建议先在测试项目验证配置后再迁移至正式环境。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install ink-skill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ink-skill 怎么安装?

在终端执行 openclaw skills install ink-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ink-skill 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ink-skill 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

ink-skill 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ink-skill 用的人多吗?

公开数据是累计安装 9,204 次,近一周安装 376 次,下载 2,948 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ink-skill 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
ink-skill

墨功 · 本页

9,204—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
ink
description
>
allowed-tools
Bash(ink:*), Bash(which:*), Bash(command:*), Bash(npm:*), Bash(npx:*), Bash(brew:*), Bash(git:*), Write

Use Ink

Ink is a cloud platform designed for AI agents to deploy and manage services autonomously. It makes deployments simple enough that fully autonomous agents can handle the entire lifecycle: create, deploy, monitor, and scale services without human intervention.

Preflight

Before any operation, verify the CLI is installed and authenticated:

command -v ink                    # CLI installed
ink whoami                        # authenticated

If the CLI is missing, install it:

npm install -g @mldotink/cli      # npm (macOS, Linux, Windows)
brew install mldotink/tap/ink     # Homebrew (macOS)

If not authenticated, run ink login.

Configuration

Ink CLI resolves context in this order (highest priority first):

  1. CLI flags -- --api-key, --workspace, --project
  2. Environment -- INK_API_KEY
  3. Local config -- .ink file in current directory
  4. Global config -- ~/.config/ink/config

Use ink whoami to check current auth. Use --json on any command for machine-readable output.

Git: Two Options

Ink supports two git providers. Use ink whoami to see which are available.

Option 1: Ink Internal Git (default)

Zero-setup, works for everyone. No GitHub account needed.

ink repos create my-app           # creates repo, shows git remote URL
git remote add ink <url>          # add the remote
git push ink main                 # push code -- auto-triggers deployment

Option 2: GitHub

Requires GitHub OAuth and GitHub App connected at https://ml.ink (Settings > GitHub).

ink deploy my-app --repo username/repo-name --host github --port 3000

Auto-Redeploy

Both git providers trigger automatic redeployment on push. After pushing code, just poll ink status <name> to track progress -- you do not need to redeploy manually.

Secrets & Environment Variables

Use ink secrets to manage env vars on running services. Changes are merged server-side and trigger an automatic redeploy.

For sensitive values (API keys, tokens, credentials), use ink secrets import to avoid leaking to shell history:

# From file
ink secrets import my-app --file .env

# From stdin (preferred for agents)
cat > .env.secrets <<EOF
DATABASE_URL=libsql://my-db-myworkspace.turso.io
DATABASE_AUTH_TOKEN=eyJhbG...
API_KEY=sk_live_xxx
EOF
ink secrets import my-app --file .env.secrets
rm .env.secrets

For non-sensitive values, ink secrets set is fine:

ink secrets set my-app NODE_ENV=production LOG_LEVEL=info

Other operations:

ink secrets list my-app                          # list current vars
ink secrets unset my-app OLD_KEY                 # remove a single var
ink secrets delete my-app KEY1 KEY2              # remove multiple vars
ink secrets import my-app --file .env --replace  # replace ALL vars (removes unspecified)

For initial deploy, use --env-file to pass secrets:

ink deploy my-app --repo my-app --port 3000 --env-file .env

Use --env only for non-sensitive values like NODE_ENV=production.

Common Operations

ink services                                      # list all services
ink status my-app                                 # service details
ink logs my-app                                   # tail logs
ink deploy my-app --repo my-app --port 3000       # deploy new service
ink redeploy my-app                               # redeploy existing
ink redeploy my-app --memory 1Gi --vcpu 1         # redeploy with new config
ink delete my-app                                 # delete service

ink db create my-db                               # create database
ink db list                                       # list databases
ink db token my-db                                # get connection credentials
ink db delete my-db                               # delete database

ink secrets set my-app KEY=value                  # set env vars (merges)
ink secrets import my-app --file .env             # import from file
ink secrets list my-app                           # list env vars
ink secrets unset my-app KEY                      # remove env var
ink secrets delete my-app KEY1 KEY2               # remove multiple

ink domains add my-app app.example.com            # add custom domain
ink domains remove my-app app.example.com         # remove custom domain

ink dns zones                                     # list DNS zones
ink dns records example.com                       # list records
ink dns add example.com --name sub --type A --content 1.2.3.4
ink dns delete example.com <record-id>

ink repos create my-app                           # create internal git repo
ink repos token my-app                            # get push token

ink projects list                                 # list projects
ink workspaces                                    # list workspaces

Deployment Flows

Deploy a service

# 1. Create a repo and push code
ink repos create my-app
git remote add ink <gitRemote_from_output>
git push ink main

# 2. Deploy
ink deploy my-app --repo my-app --port 3000

# 3. Check status (status goes: queued -> building -> deploying -> active)
ink status my-app

Deploy a full-stack app (API + frontend)

# 1. Deploy backend
ink repos create my-api
git remote add ink <url>
git push ink main
ink deploy my-api --repo my-api --port 8080

# 2. Wait for backend to be active
ink status my-api

# 3. Deploy frontend with backend URL
ink repos create my-frontend
git remote add ink-frontend <url>
git push ink-frontend main
ink deploy my-frontend --repo my-frontend --port 3000 \
  --env VITE_API_URL=https://my-api.ml.ink

Deploy with a database

# 1. Create database
ink db create my-db --json
# Save databaseUrl and authToken from output

# 2. Deploy service
ink deploy my-app --repo my-app --port 3000

# 3. Set database credentials (merges with existing vars, triggers redeploy)
cat > .env.secrets <<EOF
DATABASE_URL=<databaseUrl from step 1>
DATABASE_AUTH_TOKEN=<authToken from step 1>
EOF
ink secrets import my-app --file .env.secrets
rm .env.secrets

Deploy a static site or SPA

For frontend apps (React, Vue, Vite, Next.js static export, etc.) that build to a directory of static files. No --port needed — Ink serves via nginx automatically.

ink repos create my-site
git remote add ink <url>
git push ink main
ink deploy my-site --repo my-site --publish-dir dist

Use --publish-dir to specify where the build output goes (dist, build, out, etc.). Ink runs the build step then serves the result as static files.

For SPAs with an API backend, pass the API URL as a build-time env var:

ink deploy my-site --repo my-site --publish-dir dist \
  --env VITE_API_URL=https://my-api.ml.ink

Deploy from a monorepo

# 1. Create one repo for the monorepo
ink repos create my-monorepo
git remote add ink <url>
git push ink main

# 2. Deploy backend from backend/ subdirectory
ink deploy mono-api --repo my-monorepo --root-dir backend --port 8080

# 3. Deploy frontend from frontend/ subdirectory (public URL is not a secret)
ink deploy mono-web --repo my-monorepo --root-dir frontend --publish-dir dist \
  --env VITE_API_URL=https://mono-api.ml.ink

Deploy from GitHub

Requires GitHub OAuth and App connected at https://ml.ink.

ink deploy my-app --repo username/repo-name --host github --port 3000

Pushes to the GitHub repo automatically trigger redeployment via webhook.

Add a custom domain

Requires a DNS zone delegated to Ink first (via https://ml.ink/dns).

ink dns zones                                     # verify zone is active
ink domains add my-app app.example.com            # auto-creates DNS + TLS

Update a service (scale, env vars, config)

Use ink secrets for env var changes. Use ink redeploy for resource/config changes. Pushing code auto-redeploys -- you don't need to call redeploy for that.

# Add or update non-sensitive env vars
ink secrets set my-app NODE_ENV=production LOG_LEVEL=info

# Add secrets via file (avoids shell history exposure)
ink secrets import my-app --file .env.secrets

# Scale up memory and CPU
ink redeploy my-app --memory 1Gi --vcpu 1

Debug a failing deployment

ink status my-app                                 # check status and error
ink logs my-app                                   # check runtime logs

Service Configuration

OptionValuesDefault
Memory128Mi, 256Mi, 512Mi, 1024Mi, 2048Mi, 4096Mi256Mi
vCPUs0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 1, 2, 3, 40.25
Regioneu-central-1eu-central-1
Branchany git branchmain

Guidelines

  • Install the CLI first. If command -v ink fails, install with npm install -g @mldotink/cli.
  • Check ink services before deploying to see if a service already exists. Use ink deploy for new services and ink redeploy for existing ones.
  • Pushing code auto-redeploys. After git push, just poll ink status to track progress.
  • Use --json flag for machine-readable output when you need to parse results.
  • Memory: 128Mi, 256Mi (default), 512Mi, 1024Mi, 2048Mi, 4096Mi.
  • vCPUs: 0.1, 0.2, 0.25 (default), 0.3, 0.4, 0.5, 1, 2, 3, 4.
  • When deploying, confirm the repo URL and branch with the user first.
  • Use ink secrets import for sensitive values (credentials, tokens, API keys). Write to a temp file, import, delete the file. Never pass secrets as CLI arguments — they leak to shell history and process listings.
  • Use ink secrets set only for non-sensitive vars like NODE_ENV=production. Never use ink redeploy --env to update vars — it replaces all vars.
  • Never hardcode or guess secret values. Secrets should come from the user, from ink db token, or from other Ink CLI output.
  • Show the service URL after successful deployment.
  • Zone delegation (for custom domains) must be set up by the user at https://ml.ink/dns before you can use ink domains add.

平台分布

OpenClaw

80.07%
按下载量换算2,360

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills