Echo Agent is a self-hosted, long-running AI agent that connects language models, tools, memory, permissions, and messaging channels in one system. Individuals and teams use it for private automation that retains context across sessions, develops skills, schedules tasks, and requires approval for high-risk actions.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add fuyuxiang/echo-agent --skill workflow-chaingit clone --depth 1 https://github.com/fuyuxiang/echo-agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/fuyuxiang/echo-agent/workflow-chain)<a href="https://agentmods.dev/skills/fuyuxiang/echo-agent/workflow-chain"><img src="https://agentmods.dev/badge/skills/fuyuxiang/echo-agent/workflow-chain/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/fuyuxiang/echo-agent/workflow-chain"><img src="https://agentmods.dev/badge/skills/fuyuxiang/echo-agent/workflow-chain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.00857 |
| Opus 5.5 | $0.00007 | $0.00343 |
| Sonnet 5.5 | $0.00004 | $0.00171 |
| Haiku 4.5 | $0.00002 | $0.00086 |
Grade A, and why
workflow-chain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Workflow Chain
Orchestrate multi-step workflows by chaining skills and actions.
Workflow Definition
Workflows are YAML files in ~/.echo-agent/workflows/:
name: morning-routine
trigger: cron "0 8 * * *"
steps:
- id: get_weather
skill: weather
input: {location: "Beijing"}
- id: get_todos
skill: reminder
action: due
- id: compose
skill: daily-briefing
input:
weather: "{{get_weather.output}}"
todos: "{{get_todos.output}}"
- id: deliver
action: send
channel: telegram
content: "{{compose.output}}"
Security
Only run trusted workflow files. The engine runs the commands listed in the JSON workflow definition. Never run workflow files from untrusted sources (downloads, user uploads, model-generated content) without manual review.
Each command is parsed with shlex and executed as a single program with a
fixed argument list — shell syntax is not interpreted. ;, &&, |, >
and $(...) are passed through as literal arguments, so one step cannot chain
into another command. A step that genuinely needs a pipeline or redirection has
to ask for a shell explicitly:
{"command": "sh -c 'grep ERROR app.log | wc -l > count.txt'"}
Writing it that way keeps the intent visible in the workflow file instead of every step carrying implicit shell power.
Features
- Variable interpolation:
{{step_id.output}}references previous step results - Conditional steps:
when: "{{get_weather.temp}} < 5" - Error handling:
on_error: skip | abort | retry(3) - Parallel steps:
parallel: [step_a, step_b]
Built-in Templates
Research Pipeline
name: research-pipeline
steps:
- {id: search, skill: web-search, input: {query: "{{topic}}"}}
- {id: extract, skill: web-extract, input: {urls: "{{search.top_urls}}"}}
- {id: report, skill: deep-research, input: {content: "{{extract.output}}"}}
Morning Routine
name: morning-routine
trigger: cron "0 8 * * *"
steps:
- {id: weather, skill: weather, input: {location: "Beijing"}}
- {id: briefing, skill: daily-briefing}
- {id: send, action: send, channel: auto, content: "{{briefing.output}}"}
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 116 lines · 18 tokens per session scan A a52eb983a837
workflow-chain is a skill published in the GitHub repository fuyuxiang/echo-agent (1,058 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 857 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
agent-state-bar
A design guide for an agent status bar: a short, automatically updated summary of progress, remaining tasks, tool counts, errors, and system state placed near the latest model input.
knowledge-org
A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.
memory-system
A guide to giving an AI agent persistent, user-specific memory across conversations. It covers what to remember, how to store it, how to update or compress it, and when to use memory instead of a shared knowledge base.
context-compression
A guide to shortening the information an agent carries between steps. It explains how to replace large tool outputs and old conversation details with compact, useful summaries while preserving important decisions and constraints.
openlore
Query and publish to an OpenLore knowledge repository over SSH using ordinary shell commands. Use when a task needs project documentation, runbooks, shared team knowledge, or a place to publish findings.
openlore-housekeeping
Audit and maintain a shared OpenLore knowledge repository. Use on a schedule or on request to find stale docs, broken links, unreviewed inbox items, and missing skill coverage, then publish an audit report.