Agent skill

Agentic Workflows API Documentation Lungo

by agntcy in agntcy/coffeeAgntcy

Authors and maintains the human-facing Agentic Workflows API documentation for the lungo subproject at coffeeAGNTCY/coffeeagents/lungo/docs/workflow-instanceapi.md.

Apache-2.0Auto-check passedDevelopment

Install Agentic Workflows API Documentation Lungo

skills CLI
$ npx skills add agntcy/coffeeAgntcy --skill agentic-workflows-api-documentation-lungo -a claude-code

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

GitHub CLI
$ gh skill install agntcy/coffeeAgntcy agentic-workflows-api-documentation-lungo --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/agntcy/coffeeAgntcy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/domain-lungo/agentic-workflows-api-documentation-lungo .claude/skills/agentic-workflows-api-documentation-lungo && 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
agentic-workflows-api-documentation-lungo
GitHub stars
112
Token cost
~2.6k tokens
SKILL.md length
1,034 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
Apache-2.0

At a glance

Authors and maintains the human-facing Agentic Workflows API documentation for the lungo subproject at coffeeAGNTCY/coffeeagents/lungo/docs/workflow-instanceapi.md.

  • Works in 11 steps: Title + intro - one-paragraph scope… → Authoritative sources - table linking… → Conventions - identifier URI schemes;… → …
  • Updating the lungo workflow API
  • SKILL.md covers Output, Where to look, Document structure and Workflow, plus 1 more section
  • Calls npm and uv

What it does

Agentic Workflows API Documentation Lungo is an agent skill from agntcy/coffeeAgntcy. Authors and maintains the human-facing Agentic Workflows API documentation for the lungo subproject at coffeeAGNTCY/coffeeagents/lungo/docs/workflow-instanceapi.md. OpenAPI under coffeeAGNTCY/coffeeagents/lungo/schema/openapi/ is the HTTP contract source of truth (paths, shapes, response statuses): updated manually or via LLM, never generated from code. Covers the catalog API, workflow-instance lifecycle/state, internal event ingress, SSE and NDJSON streaming, eventv1, and topology/use-case shapes. Use when…

Its SKILL.md is about 2.6k 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 Development, covering Technical documentation, OpenAPI specifications and API design. It works with OpenAPI, Python and Pydantic. The repository describes itself as: End-to-end reference application for AGNTCY Components. The licence is Apache-2.0.

When your agent uses it

  • Updating the lungo workflow API
  • Schema/openapi/
  • Schema/jsonschemas/ changes
  • A prompt references a ticket/issue

Example prompts

  • “Use the agentic-workflows-api-documentation-lungo skill to author and maintains the human-facing Agentic Workflows API documentation for the lungo…”
  • “/agentic-workflows-api-documentation-lungo”

Requirements

  • Python 3

Workflow steps

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

  1. Title + intro - one-paragraph scope covering catalog, instance lifecycle, streaming, and event schema
  2. Authoritative sources - table linking in-repo specs and example payloads; note any temporary DTO/catalog gaps pending schema consolidation
  3. Conventions - identifier URI schemes; path-UUID vs payload-URI rule; authentication; storage model; default port
  4. Endpoint summary - one table row per operation from OpenAPI (purpose, method and path, response type)
  5. Catalog API - list/catalog/documentation/chat endpoints declared in OpenAPI
  6. Workflow details and topology response shapes - workflow GET, topology_only, node/edge field breakdown, example topology from catalog data…
  7. Workflow-instance lifecycle and state - instantiate, list, get state, delete, each with status codes from OpenAPI
  8. Internal event ingress - events POST (internal), validation, status codes
  9. Streaming formats - SSE instance stream and NDJSON pattern chat (implementation notes where OpenAPI only declares success)
  10. Workflow-instance state JSON Schema - link to published schema; full snapshot vs delta; top-level shape; $defs table; event types; worked…
  11. Frontend integration checklist - end-to-end flow (selectors, list, graph, instantiate, SSE, reconcile, delete)

What it can do on your machine

Read from SKILL.md and the folder at commit 36f1923. 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:

    • npm
    • uv

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

  • Network

    No URLs in SKILL.md. Its commands use npm and uv, which can reach the network depending on how they are called.

    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

Agentic Workflows API Documentation Lungo loads about 2.6k tokens when it runs. Until then it costs about 210 tokens; SKILL.md has 1,034 words of instructions outside code blocks.

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

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 agntcy/coffeeAgntcy at commit 36f1923, republished under its Apache-2.0 licence (© agntcy). 1,034 words, ~2,617 tokens.

Download SKILL.mdSave it as .claude/skills/agentic-workflows-api-documentation-lungo/SKILL.md (or your agent's skills folder).
name
agentic-workflows-api-documentation-lungo
description
Authors and maintains the human-facing Agentic Workflows API documentation for the lungo subproject at coffeeAGNTCY/coffee_agents/lungo/docs/workflow-instance_api.md. OpenAPI under coffeeAGNTCY/coffee_agents/lungo/schema/openapi/ is the HTTP contract source of truth (paths, shapes, response statuses): updated manually or via LLM, never generated from code. Covers the catalog API, workflow-instance lifecycle/state, internal event ingress, SSE and NDJSON streaming, event_v1, and topology/use-case shapes. Use when documenting or updating the lungo workflow API; when schema/openapi/ or schema/jsonschemas/ changes; or when a prompt references a ticket/issue, pull request, or file/folder that changes lungo API contracts. DO NOT TRIGGER AUTOMATICALLY. ASK THE USER IF THE SKILL SHOULD BE USED.

Agentic Workflows API documentation (lungo)

Produces and maintains a single human-facing reference document for the lungo Agentic Workflows API from the machine-readable contracts already in the repo. The document is a guide, not the contract.

Source of truth: schema/openapi/ (HTTP paths, shapes, response statuses) and schema/jsonschemas/ (instance/event payloads). Read those folders fresh on every run; resolve $refs from the OpenAPI entry point. Do not trust the existing human doc or this skill to list every file inside those trees - layout may change.

The lungo project root is coffeeAGNTCY/coffee_agents/lungo/. The output document lives at docs/workflow-instance_api.md and links to in-repo specs with paths relative to docs/ (e.g. ../schema/...).

Scope: This skill updates OpenAPI under schema/openapi/ and workflow-instance_api.md only. Python routers/DTOs: openapi-to-python-lungo. Pydantic types from JSON Schema: jsonschema-to-pydantic-lungo. For trigger-condition prose or streaming behavior OpenAPI omits, read implementation only as needed via openapi-to-python-lungo's scope - do not treat Python files as contract sources.

Output

  • Human guide: docs/workflow-instance_api.md
  • OpenAPI (when paths, shapes, or response statuses change): files under schema/openapi/ - discover path items, shared schemas, and reusable error responses by reading the tree

Keep the human guide aligned with the resolved OpenAPI document. Reconcile using Document structure whenever the API surface changes. When HTTP statuses change, follow OpenAPI status codes before updating prose.

Where to look

RolePath (relative to lungo root)
HTTP contractschema/openapi/
Event / instance JSON Schemaschema/jsonschemas/
Human guide (output)docs/workflow-instance_api.md

Enumerate endpoints, fields, and status codes from the specs - do not hard-code counts or names from memory. For worked examples in prose (patterns, use-cases, sample topology), pull real values from catalog data under api/agentic_workflows/ when present.

Sibling skills run after contract edits (as the user directs):

Document structure

Keep the document organized in this order (headings are stable). Re-derive content from schema/openapi/ and schema/jsonschemas/:

  1. Title + intro - one-paragraph scope covering catalog, instance lifecycle, streaming, and event schema
  2. Authoritative sources - table linking in-repo specs and example payloads; note any temporary DTO/catalog gaps pending schema consolidation
  3. Conventions - identifier URI schemes; path-UUID vs payload-URI rule; authentication; storage model; default port
  4. Endpoint summary - one table row per operation from OpenAPI (purpose, method and path, response type)
  5. Catalog API - list/catalog/documentation/chat endpoints declared in OpenAPI
  6. Workflow details and topology response shapes - workflow GET, topology_only, node/edge field breakdown, example topology from catalog data when available
  7. Workflow-instance lifecycle and state - instantiate, list, get state, delete, each with status codes from OpenAPI
  8. Internal event ingress - events POST (internal), validation, status codes
  9. Streaming formats - SSE instance stream and NDJSON pattern chat (implementation notes where OpenAPI only declares success)
  10. Workflow-instance state JSON Schema - link to published schema; full snapshot vs delta; top-level shape; $defs table; event types; worked examples
  11. Frontend integration checklist - end-to-end flow (selectors, list, graph, instantiate, SSE, reconcile, delete)

Workflow

- [ ] 1. Read schema/openapi/ and schema/jsonschemas/ (resolve OpenAPI from its entry point)
- [ ] 2. Enumerate endpoints and response statuses from the resolved spec (do not hard-code)
- [ ] 3. If a new status is needed, update OpenAPI first (see OpenAPI status codes)
- [ ] 4. Write/refresh each section per Document structure from the specs
- [ ] 5. For trigger conditions or streaming details OpenAPI omits, read handler code only as needed; surface drift to the user
- [ ] 6. Use real catalog example values where helpful; link full example payloads rather than inlining
- [ ] 7. Apply the writing conventions
- [ ] 8. Verify links, lint, and OpenAPI unit tests (see Verification)
- [ ] 9. If handlers must align with new statuses or shapes, tell the user to run openapi-to-python-lungo (not this skill)
- [ ] 10. If new contract folders or doc sections appear, update Document structure here; keep AGENTS.md in sync if skill scope changes
Source-of-truth rules
  • OpenAPI first. Paths, request/response shapes, and declared HTTP status codes live in schema/openapi/. Change the spec first, then the human doc and generated types (frontend npm run generate:api-types; Python via openapi-to-python-lungo).
  • Derive, never invent. Every endpoint, field, and status code in the human doc must trace to OpenAPI (plus global 401 from security) or JSON Schema under schema/jsonschemas/.
  • Surface drift. If implementation returns a status OpenAPI does not declare, add it to OpenAPI via this skill and ask the user to align handlers via openapi-to-python-lungo. Do not document undeclared codes only in markdown.
  • Enumerate, don't count. Build tables and lists by reading the specs, not from cached skill text.
  • Generic skill, specific repo. This skill names folders, not every file inside them; discover current layout when you run.
Show full SKILL.md (433 more words)Show less
Writing conventions
  • Markdown prose is not hard-wrapped for length: one paragraph or list item per line. Keep tables, fenced code blocks, and JSON/SSE/NDJSON examples structured as-is.
  • Link to source files with paths relative to docs/. Link full example payloads rather than pasting them; excerpt only small fragments.
  • Use fenced code blocks with a language tag for samples; these are illustrative, not citations of repo lines.
  • Keep terminology consistent: "endpoint", "workflow instance", "topology", "event".
  • Present per-endpoint status codes as a markdown bullet list after a Status codes: (or similar) lead-in, one code per item: - `<code>` - <condition>. Derive codes from OpenAPI responses plus global 401 where auth applies.
OpenAPI status codes

When an operation needs a new or changed HTTP status:

  1. Update OpenAPI - under schema/openapi/, add or adjust responses on the operation (discover path items and shared components/responses by reading the tree):
    • 401 - rely on global security on the OpenAPI root document; do not repeat on every operation unless the spec already does
    • 422 - reference UnprocessableEntity (ValidationError body: { detail: [...] })
    • Other errors - $ref shared components/responses by status: 400 → BadRequest, 404 → NotFound, 500 → InternalServerError, 503 → ServiceUnavailable, 504 → GatewayTimeout (ApplicationError body: { detail: string }). Do not use inline description-only error responses for those codes.
    • Body schemas - ApplicationError vs ValidationError live under components/schemas/ in schema/openapi/; response components point at the matching schema.
  2. Update the human doc - status bullets and conditions aligned with the spec
  3. Align implementation - ask the user to run openapi-to-python-lungo so handlers use only declared statuses
  4. Regenerate consumers - npm run generate:api-types in the lungo frontend when applicable; Python via openapi-to-python-lungo when shapes changed
  5. Same change set - OpenAPI and markdown together in one PR; handler alignment via openapi-to-python-lungo when the user requests it

Do not add error responses= on FastAPI decorators unless the user explicitly asks; YAML under schema/openapi/ remains the published contract.

Verification

Run from the repo root:

bash
cd coffeeAGNTCY/coffee_agents/lungo/docs
for p in $(grep -oE '\]\(\.\.?/[^)]+\)' workflow-instance_api.md | sed -E 's/^\]\(//; s/\)$//'); do
  [ -e "$p" ] && echo "OK   $p" || echo "MISS $p"
done

Fix any MISS link before finishing.

From coffeeAGNTCY/coffee_agents/lungo/:

bash
uv run pytest tests/unit/openapi/ -q

Fix OpenAPI validation or spec drift when you changed schema/openapi/. Report handler drift to the user; do not fix handlers from this skill.

Keeping this skill current

When a prompt references a new ticket, pull request, or contract folder:

  1. Contract edits first - update schema/openapi/ and/or schema/jsonschemas/; invoke sibling codegen skills as the user directs
  2. Update OpenAPI before prose - follow OpenAPI status codes; do not document new errors only in markdown
  3. Refresh the human doc - re-run the Workflow
  4. Adjust this skill sparingly - prefer updating Document structure over growing file inventories; keep AGENTS.md in sync if name or scope changes

Surface spec vs implementation inconsistency to the user; do not paper over drift in prose.

© agntcy, 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 .agents/skills/domain-lungo/agentic-workflows-api-documentation-lungo of agntcy/coffeeAgntcy.

Open the folder on GitHubat commit 36f1923

Compare with similar skills

Agentic Workflows API Documentation Lungo 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.

Agentic Workflows API Documentation Lungo compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agentic Workflows API Documentation Lungo this skillagntcy/coffeeAgntcy112—~2.6kAutomated safety check: PassApache-2.0
API Documentation Generatorluongnv89/claude-howto42k—~429Automated safety check: PassMIT
Code DocumenterJeffallan/claude-skills12k—~1.5kAutomated safety check: PassMIT
API Documentation Generator (Ukrainian)luongnv89/claude-howto42k—~375Automated safety check: PassMIT
API Documentation Generator (Chinese)luongnv89/claude-howto42k—~272Automated safety check: PassMIT
OpenAPI Spec Generationwshobson/agents40k9 repos~511Automated safety check: PassMIT

Similar skills

  • API Documentation Generator

    luongnv89/claude-howto

    Generate comprehensive, accurate API documentation from source code. Use when creating or updating API documentation, generating OpenAPI specs, or when users…

    42k GitHub stars~429 tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Code Documenter

    Jeffallan/claude-skills

    Generates and validates docstrings, OpenAPI specs, JSDoc annotations and user guides, running every code example through a real compiler or linter before reporting coverage.

    12k GitHub stars~1.5k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Ukrainian-language skill for writing API documentation from source code: OpenAPI specs, endpoint pages, SDK examples, integration and authentication guides and error code references.

    42k GitHub stars~375 tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Chinese-language skill that produces API docs from source code, covering OpenAPI specs, endpoint write-ups, SDK usage samples, integration guides, error code tables and auth guides.

    42k GitHub stars~272 tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Create, validate and maintain OpenAPI 3.1 specs for REST APIs, whether designed first or generated from existing code, and use them for docs and client SDKs.

    40k GitHub starsUsed in 9 repos~511 tokens
    Backend & APIsAuto-check passed
  • Code Documenter

    zebbern/claude-code-guide

    A skill your agent uses when adding docstrings, creating API documentation, or building documentation sites.

    4.6k GitHub stars~1k tokensUpdated today
    Backend & APIsAuto-check passed

More from agntcy/coffeeAgntcy

All 16 skills in this repo
  • A2a Protocol

    agntcy/coffeeAgntcy

    A skill your agent uses when the user asks about A2A (Agent-to-Agent) protocol communication, OASF record formats, AGNTCY directory operations, agent card parsing, or dirctl CLI usage.

    112 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Add Repo Operation

    agntcy/coffeeAgntcy

    Guides adding a new repository operation (a check, validation, or piece of tooling) through this repo's standard script - Taskfile task - skill - CI enforcement - rule pipeline.

    112 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Checking Pinned References

    agntcy/coffeeAgntcy

    Runs task pins:check to find any third-party GitHub Action, reusable-workflow, or image reference that isn't pinned to an immutable SHA/digest, and pins each one it finds.

    112 GitHub stars~578 tokensUpdated yesterday
    Auto-check passed
  • Runs task workflows:check-permissions to find any GitHub Actions workflow file with a write-all grant or no declared permissions, and scopes it down to least privilege.

    112 GitHub stars~513 tokensUpdated yesterday
    Auto-check passed
  • Generate Release Notes

    agntcy/coffeeAgntcy

    Generates coffeeAgntcy CHANGELOG release notes and README Built With updates from PRs and dependency lockfiles since the previous release tag.

    112 GitHub stars~535 tokensUpdated yesterday
    Auto-check passed
  • Linting GitHub Workflows

    agntcy/coffeeAgntcy

    Runs task workflows:lint (actionlint) against every file under .github/workflows/ and fixes what it reports.

    112 GitHub stars~507 tokensUpdated yesterday
    Auto-check passed

Questions about Agentic Workflows API Documentation Lungo

What does Agentic Workflows API Documentation Lungo do?

Authors and maintains the human-facing Agentic Workflows API documentation for the lungo subproject at coffeeAGNTCY/coffeeagents/lungo/docs/workflow-instanceapi.md. Agentic Workflows API Documentation Lungo is an agent skill from agntcy/coffeeAgntcy.md.

When should I use Agentic Workflows API Documentation Lungo?

Agentic Workflows API Documentation Lungo fits situations like: updating the lungo workflow API; schema/openapi/; schema/jsonschemas/ changes; A prompt references a ticket/issue.

How do I install Agentic Workflows API Documentation Lungo in Claude Code?

Run `npx skills add agntcy/coffeeAgntcy --skill agentic-workflows-api-documentation-lungo -a claude-code`. Or copy the skill folder (.agents/skills/domain-lungo/agentic-workflows-api-documentation-lungo in agntcy/coffeeAgntcy) into .claude/skills/agentic-workflows-api-documentation-lungo in your project. Claude Code loads it when a task matches its description.

How do I install Agentic Workflows API Documentation Lungo in Codex?

Run `npx skills add agntcy/coffeeAgntcy --skill agentic-workflows-api-documentation-lungo -a codex`. Or copy the skill folder (.agents/skills/domain-lungo/agentic-workflows-api-documentation-lungo in agntcy/coffeeAgntcy) into .agents/skills/agentic-workflows-api-documentation-lungo in your project. Codex loads it when a task matches its description.

Can I use Agentic Workflows API Documentation Lungo 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 agntcy/coffeeAgntcy --skill agentic-workflows-api-documentation-lungo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agentic-workflows-api-documentation-lungo, .gemini/skills/agentic-workflows-api-documentation-lungo, .github/skills/agentic-workflows-api-documentation-lungo and .opencode/skills/agentic-workflows-api-documentation-lungo in your project.

What does Agentic Workflows API Documentation Lungo need to run?

Going by SKILL.md and its folder, Agentic Workflows API Documentation Lungo needs the command-line tools its instructions call (npm and uv). Our summary lists: Python 3.

Does Agentic Workflows API Documentation Lungo access the network?

SKILL.md contains no URLs. Its commands use npm and uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Agentic Workflows API Documentation Lungo 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 Agentic Workflows API Documentation Lungo use?

Agentic Workflows API Documentation Lungo 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 Agentic Workflows API Documentation Lungo use?

About 2.6k tokens (SKILL.md is roughly 10k 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 Agentic Workflows API Documentation Lungo?

Skills that share tags, products or a category with Agentic Workflows API Documentation Lungo: API Documentation Generator (luongnv89/claude-howto, 42k stars), Code Documenter (Jeffallan/claude-skills, 12k stars), API Documentation Generator (Ukrainian) (luongnv89/claude-howto, 42k stars) and API Documentation Generator (Chinese) (luongnv89/claude-howto, 42k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agentic Workflows API Documentation Lungo?

agntcy (a GitHub organization) maintains it in agntcy/coffeeAgntcy, which has 112 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 6, 2026.

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