Agent skill

Examples Checker

by eclipse-ankaios in eclipse-ankaios/ankaios

Check Ankaios examples by building and running each example in the devcontainer and validating they work correctly.

Apache-2.0Auto-check passedDevOps & Cloud

Install Examples Checker

skills CLI
$ npx skills add eclipse-ankaios/ankaios --skill examples-checker -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install eclipse-ankaios/ankaios examples-checker --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/eclipse-ankaios/ankaios.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/examples-checker .claude/skills/examples-checker && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
examples-checker
GitHub stars
125
Token cost
~2k tokens
SKILL.md length
916 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
Apache-2.0

At a glance

Check Ankaios examples by building and running each example in the devcontainer and validating they work correctly.

  • Works in 3 steps: Ankaios binaries are built and… → No stale Ankaios processes are running:… → Set ANK_BIN_DIR to the directory…
  • DevOps & Cloud work in your project
  • SKILL.md covers Trigger behavior, Example discovery, Example categories and Prerequisites check, plus 8 more sections
  • Calls cargo

What it does

Examples Checker is an agent skill from eclipse-ankaios/ankaios. Check Ankaios examples by building and running each example in the devcontainer and validating they work correctly. Use this when asked to "check examples", "test examples", or "verify examples".

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud. It works with Rust, Python, C++ and Node.js. The repository describes itself as: Eclipse Ankaios provides workload and container orchestration for embedded devices like automotive HPCs. The licence is Apache-2.0.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “check examples”
  • “test examples”
  • “verify examples”
  • “/examples-checker”

Requirements

  • Python 3
  • Node.js

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Ankaios binaries are built and available. Check for debug binaries first
  2. No stale Ankaios processes are running: run the cleanup script before starting.
  3. Set ANK_BIN_DIR to the directory containing the Ankaios binaries (debug or release).

What it can do on your machine

Read from SKILL.md and the folder at commit ae46412. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Examples Checker loads about 2k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 916 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from eclipse-ankaios/ankaios at commit ae46412, republished under its Apache-2.0 licence (© eclipse-ankaios). 916 words, ~1,960 tokens.

Download SKILL.mdSave it as .claude/skills/examples-checker/SKILL.md (or your agent's skills folder).
name
examples-checker
description
Check Ankaios examples by building and running each example in the devcontainer and validating they work correctly. Use this when asked to "check examples", "test examples", or "verify examples".

Examples Checker Skill

Use this skill to validate Ankaios examples by building, running, and verifying their expected behavior inside the devcontainer.

Trigger behavior

  • If the user asks to "check examples" (or equivalent), run all examples by default.
  • If the user specifies a particular example name (e.g. rust_sdk_hello), only check that one.
  • If the user asks to "check control interface examples", run only the four control interface examples.
  • If the user asks to "check SDK examples", run only the SDK examples.

Example discovery

  • Discover example subfolders at runtime by listing /workspaces/ankaios/examples/.
  • Exclude tools/ folder.

Example categories

Control Interface examples (raw protobuf)
ExampleLanguage
rust_control_interfaceRust
cpp_control_interfaceC++
nodejs_control_interfaceNode.js
python_control_interfacePython

Expected behavior: Each creates a dynamic_nginx workload via the Control Interface, then polls workload states every 5 seconds. The example workload itself should reach Running(Ok).

SDK examples
ExampleSDKDescription
python_sdk_helloPythonCreates dynamic_nginx, waits for RUNNING, deletes it
python_sdk_interactivePythonStarts a sleeping container for manual SDK exploration
python_sdk_loggingPythonReads logs from a screamer workload
rust_sdk_helloRustCreates dynamic_nginx, waits for RUNNING, deletes it
rust_sdk_loggingRustReads logs from a screamer workload

Prerequisites check

Before running any example, verify:

  1. Ankaios binaries are built and available. Check for debug binaries first:
    • Debug: /workspaces/ankaios/target/x86_64-unknown-linux-musl/debug/
    • Release: /workspaces/ankaios/target/x86_64-unknown-linux-musl/release/
    • If neither exists, build with cargo build.
  2. No stale Ankaios processes are running: run the cleanup script before starting.
  3. Set ANK_BIN_DIR to the directory containing the Ankaios binaries (debug or release).

Existing scripts

The examples/ folder provides two helper scripts that must be used:

  • run_example.sh <example_name> — Builds the container image, starts Ankaios (server + agent_A) if not already running, and applies the example manifest. Accepts --ankaios-bin-dir or uses the ANK_BIN_DIR environment variable.
  • cleanup.sh — Stops Ankaios server and agent, stops and removes all podman containers and volumes.

Execution process

Per-example execution

For each example to check:

  1. Clean state — Run examples/cleanup.sh to ensure no leftover state.

  2. Run the example — From the examples/ directory, run in the foreground and wait for it to finish:

    shell
    ./run_example.sh <example_name>

    This script handles: building the container image, starting Ankaios (server + agent) in the background, and applying the manifest. The script returns once the build is done and Ankaios is started. If the build fails, record the error and move to the next example.

  3. Wait for workloads — Poll with ank get workloads every 5 seconds, up to 60 seconds, until the example workload reaches Running(Ok).

  4. Validate behavior — Perform example-specific validation (see below).

  5. Collect logs — Run ank logs <workload_name> to capture workload output.

  6. Cleanup — Run examples/cleanup.sh after each example.

Example-specific validation
Control Interface examples (rust_control_interface, cpp_control_interface, nodejs_control_interface, python_control_interface)

After the example workload reaches Running(Ok):

  • Wait up to 30 seconds for the dynamic_nginx workload to appear in ank get workloads.
  • Verify dynamic_nginx reaches Running(Ok).
  • Check example workload logs (ank logs <example_name>) for evidence of successful Control Interface communication (e.g., workload state output).
  • Mark as passed if dynamic_nginx was created and reached Running state.
python_sdk_hello / rust_sdk_hello

After the example workload reaches Running(Ok):

  • Check workload logs for evidence of:
    1. dynamic_nginx workload being created.
    2. dynamic_nginx reaching a Running state.
    3. dynamic_nginx being deleted.
  • The example workload may exit after completion — this is expected.
  • Mark as passed if logs show the create → wait → delete lifecycle completed.
Show full SKILL.md (380 more words)Show less
python_sdk_interactive

After the example workload reaches Running(Ok):

  • This example just sleeps; there is no automated validation beyond reaching Running(Ok).
  • Mark as passed if the workload is running.
python_sdk_logging / rust_sdk_logging

After the example workload reaches Running(Ok):

  • Wait for the screamer workload (defined in the same manifest) to also reach Running(Ok).
  • Check example workload logs for output containing "ANKAIOS" (the text the screamer outputs).
  • Mark as passed if the example captured at least one log line from the screamer.

Build timeout

Container image builds can take a long time, especially for Rust examples. Use a generous timeout (up to 10 minutes) for each build step. If a build times out, mark it as failed (build timeout) and move on.

Retry policy

  • Do not retry failed builds automatically.
  • If a workload fails to reach Running(Ok) within the timeout, check ank get workloads output and agent/server logs for diagnostics before marking as failed.

Error diagnostics

When a failure occurs, collect:

  • ank get workloads output
  • ank get state output (if workload did not appear at all)
  • Example workload logs: ank logs <workload_name>
  • Server logs: tail -50 /tmp/ankaios-server.log
  • Agent logs: tail -50 /tmp/ankaios-agent_A.log

Live run feedback

While running, continuously provide concise status updates:

  • Current example (N of total)
  • Current step (build / start / apply / validate / cleanup)
  • Pass/fail decision with short reason

Final report format

After all examples have been checked:

  1. Summary table with columns: Example | Build | Deploy | Validate | Result
  2. For each failure, include:
    • Exact step that failed
    • Command executed
    • Output (or output tail if long)
    • Likely cause
  3. For each success, include:
    • Confirmation of key validation points (e.g., "dynamic_nginx created and reached Running")
  4. Overall result: X/Y examples passed
  5. End with: ask whether to investigate or fix any detected problems.

Important notes

  • The run_example.sh script handles the full build-and-deploy lifecycle — always use it rather than manually running podman build + Ankaios start + ank apply.
  • Use cleanup.sh between examples to ensure clean state.
  • SDK examples (python_sdk_*, rust_sdk_*) may download SDK packages from the internet during build. Ensure network access is available.
  • The python_sdk_interactive example is inherently manual — only verify it starts successfully.
  • The mutating_hooks example requires special server configuration and should be skipped unless explicitly requested.
  • Always use --insecure or the -k flag when calling ank commands in the devcontainer (the ank alias already includes this).

© eclipse-ankaios, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/examples-checker of eclipse-ankaios/ankaios.

Open the folder on GitHubat commit ae46412

Compare with similar skills

Examples Checker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Examples Checker compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Examples Checker this skilleclipse-ankaios/ankaios125—~2kAutomated safety check: PassApache-2.0
CI Pipeline Synthesizerkajisho5/ffmpeg-skill1.9k1 repos~1.1kAutomated safety check: PassMIT
Dbgtheodo-group/debug-that158—~2.2kAutomated safety check: PassMIT
Nemo Relay Migrate From FlowNVIDIA/NeMo-Relay192—~1.8kAutomated safety check: PassApache-2.0
Check Cross Runtimeayutaz/piper-plus220—~3.5kAutomated safety check: PassMIT
Deploy To Tempsgotempsh/temps826—~1.3kAutomated safety check: NotesApache-2.0

Similar skills

  • CI Pipeline Synthesizer

    kajisho5/ffmpeg-skill

    Generate GitHub Actions CI/CD pipeline configurations for automated building and testing of library and package projects.

    1.9k GitHub starsUsed in 1 repo~1.1k tokens
    DevOps & CloudAuto-check passed
  • Dbg

    theodo-group/debug-that

    Debug applications using the dbg CLI debugger. An agent skill from theodo-group/debug-that.

    158 GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    A skill your agent uses when migrating applications, examples, integrations, documentation, manifests, or repository code from NeMo Flow to NeMo Relay across Python, Rust, Node.js, Go, C FFI, CLI…

    192 GitHub stars~1.8k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Check Cross Runtime

    ayutaz/piper-plus

    Python canonical (src/pythonrun/piperplus/, src/python/pipertrain/, src/python/g2p/piperplusg2p/) を変更した PR で、 ONNX I/O 以外の追随漏れ (phonemizer / config schema / CLI flag / data 形式 / API 変更) を 7 ランタイム +…

    220 GitHub stars~3.5k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Deploy To Temps

    gotempsh/temps

    Deploy applications to the Temps platform with automatic framework detection, Dockerfile generation, and container orchestration.

    826 GitHub stars~1.3k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Writing Dockerfiles

    ancoleman/ai-design-components

    Writing optimized, secure, multi-stage Dockerfiles with language-specific patterns (Python, Node.js, Go, Rust), BuildKit features, and distroless images.

    526 GitHub stars~3.2k tokensUpdated 10 mo ago
    DevOps & CloudAuto-check: notes

More from eclipse-ankaios/ankaios

  • Security Vulnerability Analysis

    eclipse-ankaios/ankaios

    Analyze potential Ankaios security vulnerabilities from pasted reports, local evidence, or advisory URLs.

    125 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Requirement Tracing

    eclipse-ankaios/ankaios

    Manage requirement tracing — write new or update existing requirements/design decisions, link implementations and tests to existing ones, and maintain tracing consistency.

    125 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Tutorial Checker

    eclipse-ankaios/ankaios

    Check Ankaios tutorials by executing safe documented shell steps and validating expected outputs.

    125 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Examples Checker

What does Examples Checker do?

Check Ankaios examples by building and running each example in the devcontainer and validating they work correctly. Examples Checker is an agent skill from eclipse-ankaios/ankaios. Check Ankaios examples by building and running each example in the devcontainer and validating they work correctly.

When should I use Examples Checker?

Examples Checker fits situations like: devOps & Cloud work in your project.

How do I install Examples Checker in Claude Code?

Run `npx skills add eclipse-ankaios/ankaios --skill examples-checker -a claude-code`. Or copy the skill folder (.github/skills/examples-checker in eclipse-ankaios/ankaios) into .claude/skills/examples-checker in your project. Claude Code loads it when a task matches its description.

How do I install Examples Checker in Codex?

Run `npx skills add eclipse-ankaios/ankaios --skill examples-checker -a codex`. Or copy the skill folder (.github/skills/examples-checker in eclipse-ankaios/ankaios) into .agents/skills/examples-checker in your project. Codex loads it when a task matches its description.

Can I use Examples Checker in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add eclipse-ankaios/ankaios --skill examples-checker -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/examples-checker, .gemini/skills/examples-checker, .github/skills/examples-checker and .opencode/skills/examples-checker in your project.

What does Examples Checker need to run?

Going by SKILL.md and its folder, Examples Checker needs the command-line tools its instructions call (cargo). Our summary lists: Python 3; Node.js.

Does Examples Checker access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Examples Checker safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Examples Checker use?

Examples Checker is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Examples Checker use?

About 2k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Examples Checker?

Skills that share tags, products or a category with Examples Checker: CI Pipeline Synthesizer (kajisho5/ffmpeg-skill, 1.9k stars), Dbg (theodo-group/debug-that, 158 stars), Nemo Relay Migrate From Flow (NVIDIA/NeMo-Relay, 192 stars) and Check Cross Runtime (ayutaz/piper-plus, 220 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Examples Checker?

eclipse-ankaios (a GitHub organization) maintains it in eclipse-ankaios/ankaios, which has 125 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 7, 2026.

Source: eclipse-ankaios/ankaios on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.