Skip to content
Agentmart
Submit a tool

hegl

Use when starting any work on a Hegl agent (building an automation, improving a decision box, inspecting runs or feedback) and whenever unsure which Hegl…

Skill by Katch-AI

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/katch-ai-hegl

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when starting any work on a Hegl agent (building an automation, improving a decision box, inspecting runs or feedback) and whenever unsure which Hegl skill or tool applies. Orientation and the rules every other Hegl skill assumes.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/hegl

What's inside

Skill name
hegl
Description
Use when starting any work on a Hegl agent (building an automation, improving a decision box, inspecting runs or feedback) and whenever unsure which Hegl skill or tool applies. Orientation and the rules every other Hegl skill assumes.
License
MIT
Instructions
51 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Hegl

Hegl turns a job someone does by hand into an automation that runs on its own. Two halves: the dashboard, where the user reads what you built and publishes it, and an Activepieces flow that does the work. You learn the job, build the flow, measure how well it does the job, and improve it until it is good enough to publish.

## Tools

The `hegl` MCP server acts as the signed-in user across their organizations. Start with `list_organizations` for organization and agent ids. Tools that create, search or run in an agent's context take `agent_id`; tools that act on an existing record take that record's id (`id`, `flow_id`, `decision_box_id`, …). `get_agent` returns an agent's name, description, documents, flows, trigger flows and connection requirements; poll it for provisioning and connection status. Anything without a tool goes through `graphql` (introspection works, errors carry "Did you mean"). `platform-api` maps what to call when.

## Picking the agent

The user may name an agent (name or `a-…` id). Otherwise, if `list_organizations` shows exactly one agent, use it; if several, list them and ask which.

## Entry points

Three skills the user can call by name, each optionally followed by an agent: `build` (start or continue building an agent), `feedback` (turn the complaints an agent received into an improvement), `fix-errors` (find out why runs fail and fix it).

## Signing in

Call `list_organizations` first. If the `hegl` tools are missing or refuse with an authorization error, the user is not signed in: in Codex run `codex mcp login hegl`; in Claude Code ask them to run `/mcp`, pick `hegl`, then Authenticate. Either opens the Hegl sign-in in their browser. A new email gets a link to create an account, and the sign-in finishes when they are done. Then call `list_organizations` again. A new account has no plan (`list_organizations` shows `subscribed: false`); a tool that builds answers "Choose a plan to build agents: <link>". Open the link (in Claude Code the plugin does), tell the user to pick a plan there, then poll `list_organizations` every few seconds until `subscribed` is true and retry. Do not end your turn while waiting.

## Dashboard links

Tool results carry links to dashboard pages. Link whatever you mention that the user can look at, and open the page when a step is theirs to take (a connection, a config form, publishing, a human review): `linking-to-the-dashboard`.

## How the work goes

1. Learn the job. Write it down.
2. Build the flow with placeholder decisions and check it runs end to end.
3. Build a test set from real past examples, check the labels, set a target score.
4. Keep a backlog of ideas, run experiments, iterate until the target is met.
5. Finish the version for review. The user publishes it from the dashboard.

`building-the-automation` covers 1 and 2, `implementing-decision-boxes` 3 to 5. `platform-api` and `activepieces` hold the details. Read the skill before acting.

## Documents

Keep two documents current with `update_agent_documents` whenever they change: `requirements` (what the job is and what the agent will do) and `flow_description` (how the flow works, step by step, with a Mermaid diagram; see `mermaid`). They are the user's window into your work. Do not wait for sign-off on them. Send the whole document each time.

## Writing for the dashboard

Everything that lands on Hegl is read by people who are not developers: requirements, flow description, flow and version descriptions, experiment titles and results, publish notes, artifacts. Short sentences, plain words, the systems they know ("Slack", "Salesforce"), never the machinery ("piece", "flow JSON", "webhook", "CODE step"). Technical detail goes under an "Implementation detail" heading.

## Working practice

- Record state on Hegl as you go: start the improvement run, write the backlog, define metrics and record iterations the moment each exists. Anything held back is invisible to the user until then.
- Before saying something is done, read it back (`get_agent`, `get_flow_run`, `get_activepieces_flow`) and go by what you saw, not by a mutation's return.
- Big lookups (sampled records, piece metadata, long documents) belong in a subagent that returns a short answer, if your harness has one.
- Something missing or broken (a piece, a tool, a skill)? `report_platform_issue`, then tell the user plainly what you cannot do. Do not fake around it.
- Hegl's hosted coding agent may have worked on the same agent. `list_workspace_files` and `read_workspace_file` reach its files; `write_workspace_file` hands files back.

From Katch-AI/hegl-plugin, MIT.

More from Katch-AI/hegl-plugin

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 10, 2026 (19 days ago)
Last release
Oct 23, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Katch-AI

Cite this page

hegl skill. Agent Mart. https://agentmart.dev/skills/katch-ai-hegl (last updated 2026-10-24)