nika
Skill này làm gì
Nika là công cụ giúp tự động hóa các tác vụ AI lặp lại. Bạn định nghĩa một tác vụ AI trong một file văn bản đơn giản, công cụ kiểm tra trước khi tốn tiền và chạy ổn định.
Khi nào nên dùng
- ✓Khi bạn cần lặp lại một tác vụ AI nhiều lần.
- ✓Khi bạn muốn biết chi phí chính xác trước khi chạy một tác vụ AI.
- ✓Khi cần một tác vụ AI chạy đáng tin cậy và có thể kiểm chứng sau đó.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/nika/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chạy quy trình 'daily_report.nika.yaml' với giới hạn chi phí 0,50 USD.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn viết hướng dẫn tác vụ AI trong một file đặc biệt (gọi là 'workflow'). Nika kiểm tra file này để đảm bảo mọi thứ đúng và nằm trong ngân sách của bạn trước khi chạy. Nó cũng ghi lại mọi việc đã xảy ra để bạn kiểm tra sau.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Nika Skill
Use Nika as a deterministic workflow worker orchestrated by
the Hermes terminal tool. Nika is an open-source (AGPL) Rust engine that captures
a repeatable AI task as a plain-text *.nika.yaml file, audits it before a
single token is spent (plan, cost floor, secret flows, types), executes it
against local or cloud providers (Ollama/llama.cpp/vLLM included), and records
a tamper-evident trace.
Division of labor: Hermes orchestrates · Nika captures repeatable work as a
checkable file and runs it with receipts. Nika is NOT another coding agent —
for autonomous coding, use the opencode skill. Delegate to Nika when the
work should be repeatable, budgeted, and auditable.
When to Use
- The user asks to run, check, or author a
*.nika.yamlworkflow - A task will be repeated (daily digest, triage, ETL, report, multi-step LLM pipeline) — capture it as a workflow instead of re-prompting
- The user wants a hard cost cap, a cost estimate before running, or receipts/audit of what ran
- A pipeline mixes models/providers (local + cloud) or mixes LLM steps with shell/HTTP/file steps
- The user wants a run they can replay, verify, or reproduce later
When NOT to use
- One-off questions or single tool calls — just answer or use a tool
- Autonomous code implementation/refactoring/PR review — use the
opencodeskill - Interactive back-and-forth tasks — workflows are non-interactive by design
Prerequisites
- Nika installed:
brew install supernovae-st/tap/nika— other install paths (script, manual download) are documented at https://nika.sh: installing is a human step, not something this skill runs - Verify:
terminal(command="nika --version") - Zero keys needed for local/offline work:
--model mock/echo(offline) and--model ollama/...(local) run without any API key - Cloud providers read standard env vars from the shell;
terminal(command="nika doctor")diagnoses and prints exact fix commands
How to Run
Prove the toolchain offline first (no key, no network):
terminal(command="nika examples run 01-hello --model mock/echo")
Run a real workflow — local model first:
terminal(command="nika run flow.nika.yaml --model ollama/qwen3.5:4b", workdir="~/project")
Cloud model with a hard budget (always set one for paid models):
terminal(command="nika run flow.nika.yaml --model mistral/mistral-small-latest --max-cost-usd 0.25", workdir="~/project")
Pass workflow variables:
terminal(command="nika run report.nika.yaml --var city=Paris --var days=7 --max-cost-usd 0.50", workdir="~/project")
Long runs: launch in background and poll — do not block the turn:
terminal(command="nika run long.nika.yaml --max-cost-usd 1.00", workdir="~/project", background=true)
process(action="poll", session_id="<id>")
process(action="log", session_id="<id>")
The check-before-run law
Never run a workflow you have not checked. nika check is a static pre-flight
(no tokens spent, no network): plan shape, cost floor, secret-flow analysis,
type checks, tool args.
terminal(command="nika check flow.nika.yaml --json", workdir="~/project")
Findings carry NIKA-XXXX codes that explain themselves via
nika explain NIKA-XXXX. Exit 0 = green, safe to run. Fix findings before
running — never suppress them.
Authoring a workflow
Turn a repeated task into a file. List templates, then instantiate:
terminal(command="nika new --from '?'")
terminal(command="nika new flow.nika.yaml --from chain", workdir="~/project")
--from also accepts plain-words intent. Edit the skeleton (vars:,
tasks:, outputs:), then check it. nika explain flow.nika.yaml
narrates what it will do, the waves, the cost floor, and what it touches —
before anything runs.
The artifact you are producing looks like this (checks clean on 0.98):
nika: v1
workflow: daily-brief
model: ollama/qwen3.5:4b
tasks:
- id: fetch
invoke:
tool: "nika:fetch"
args: { url: "https://hn.algolia.com/api/v1/search?tags=front_page" }
- id: brief
depends_on: [fetch]
infer:
max_tokens: 300
prompt: |
Five bullet points, most signal first: ${{ tasks.fetch.output }}
outputs:
brief: ${{ tasks.brief.output }}
One file, plain YAML: tasks, an explicit dependency, a bounded model step, a declared output. That file is what gets checked, run, diffed and reused.
Cost honesty
…
Câu hỏi thường gặp
File “workflow” là gì?
Đó là file văn bản thuần mô tả từng bước AI cần làm. Nó xác định các tác vụ, mô hình AI sẽ dùng và cách kết hợp các kết quả.
Tôi có thể dùng Nika với các mô hình AI chạy trên máy tính của mình không?
Có, Nika có thể dùng với các mô hình chạy cục bộ (như Ollama) hoặc thậm chí chạy ngoại tuyến với mô hình giả lập, không cần khóa API hay kết nối internet.
Làm sao để biết một tác vụ AI có tốn kém không?
Nika cho phép bạn đặt giới hạn chi phí bằng đô la trước khi chạy. Nó ước tính chi phí và dừng việc thực thi nếu chi tiêu vượt quá giới hạn, để bạn không tiêu nhiều hơn dự kiến.
Chi tiết
Mô tả gốc của tác giả
Runs repeatable AI work as checked, budgeted workflow files.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5306
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.