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 jtsang4/efficient-coding --skill memosgit clone --depth 1 https://github.com/jtsang4/efficient-codingWrote 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/jtsang4/efficient-coding/memos)<a href="https://agentmods.dev/skills/jtsang4/efficient-coding/memos"><img src="https://agentmods.dev/badge/skills/jtsang4/efficient-coding/memos/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/jtsang4/efficient-coding/memos"><img src="https://agentmods.dev/badge/skills/jtsang4/efficient-coding/memos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00073 | $0.01768 |
| Opus 5.5 | $0.00029 | $0.00707 |
| Sonnet 5.5 | $0.00015 | $0.00354 |
| Haiku 4.5 | $0.00007 | $0.00177 |
Grade A, and why
memos 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 3mo 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 — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memos API Skill
This skill combines two layers:
- low-level API access for exact Memos endpoints
- task-oriented query helpers for common memo retrieval jobs
- tag inventory helpers so the calling agent can inspect existing hashtags before deciding whether to reuse them
Scope is intentionally limited to:
- attachment operations
- memo operations
- activity operations
It does not cover user management, auth setup beyond the local .env, shortcuts, identity providers, or instance settings. If the request drifts there, say the skill scope is limited instead of guessing unsupported commands.
What this skill provides
- A Bun CLI at
scripts/memos.ts - Endpoint discovery and direct API calling via
ops,describe, andcall - Task-oriented memo helpers via
latest,recent, andsearch - A
list-tagshelper that aggregates existing tags, counts, recency, and sample memo snippets - A file-to-attachment helper so agents do not have to hand-roll base64 payloads
- A compact operation catalog at
references/api-summary.md - Query recipes and time-window guidance at
references/query-recipes.md
Setup
- Work from the skill directory.
- Ensure
.envcontains:MEMOS_BASE_URLMEMOS_ACCESS_TOKEN
- Verify config:
bun run scripts/memos.ts config
MEMOS_BASE_URL may be either the instance root such as http://localhost:5230 or the API base such as http://localhost:5230/api/v1. The CLI normalizes both.
Choose the right path
Use the high-level commands first when the user asked for a retrieval task, not a specific endpoint.
- Latest memo or latest N memos:
bun run scripts/memos.ts latest --count 5
- Recent memos inside a time window:
bun run scripts/memos.ts recent --days 7 --window rolling --include-content
- Search by text or tag:
bun run scripts/memos.ts search --text agent --tag Thought --days 30
- Inspect existing tags before deciding which hashtags to reuse in a new memo:
What ships with it
7 files 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.
- 3mo ago First seen · 220 lines · 73 tokens per session scan A 9135d448a6ab
memos is a skill published in the GitHub repository jtsang4/efficient-coding (2 stars, last pushed 20d ago), licensed MIT. It adds 73 tokens to every session and 1,768 once invoked, about $0.0003 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-31.
memos compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memosjtsang4/efficient-coding | Skill | 2 | 20d ago | MIT | A | 73 | Claude Code, Codex |
| mcp-builderHmbown/CodeWhale | Skill | 41k | 5d ago | MIT | A | 30 | Claude Code, Codex |
| telegramrazzant/ouroboros | Skill | 1.8k | today | MIT | A | 19 | Claude Code |
| app-ai-bindingcloudflare/vibesdk | Skill | 5.5k | 1mo ago | MIT | A | 48 | Claude Code, Codex |
| build-teaql-appteaql/teaql-agent-kit | Skill | 2.8k | 24d ago | MIT | A | 112 | Codex |
| prd-to-specsmallnest/pigo | Skill | 507 | 16d ago | MIT | A | 77 | Claude Code |
| temporal-developertemporalio/skill-temporal-developer | Skill | 243 | 10d ago | MIT | A | 216 | Claude Code, Codex |