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 Alfredvc/rema1000-cli --skill rema-sharedgit clone --depth 1 https://github.com/Alfredvc/rema1000-cliWrote 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/alfredvc/rema1000-cli/rema-shared)<a href="https://agentmods.dev/skills/alfredvc/rema1000-cli/rema-shared"><img src="https://agentmods.dev/badge/skills/alfredvc/rema1000-cli/rema-shared.svg" alt="Measured on agentmods" 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.00035 | $0.00748 |
| Opus 5 | $0.00017 | $0.00374 |
| Sonnet 5 | $0.00007 | $0.00150 |
| Haiku 4.5 | $0.00003 | $0.00075 |
Grade A, and why
rema-shared 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 7d 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 — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
rema-shared
Foundation skill for the rema CLI — a wrapper around the REMA 1000 grocery API. Read this before using any other rema skill.
Authentication
Most commands require authentication. Auth is browser-based (one-time setup):
rema auth login # Opens Chrome/Chromium for phone auth
rema auth status # Verify logged in, check token expiry
rema auth logout # Delete saved tokens
Tokens are stored in ~/.rema1000/tokens.json and auto-refresh before expiry. You do not need to re-authenticate between sessions.
Output Format
- Success: JSON to stdout, exit code 0
- Errors:
{"error": "message"}to stderr, exit code 1 - TTY: Pretty-printed JSON (indented)
- Piped: Compact JSON (single line)
- Binary commands (
articles image,lists image): Raw bytes to stdout or--output <file>
Global Flags
Use these on any command:
| Flag | Purpose |
|---|---|
--json |
Force compact JSON output (overrides TTY detection) |
--fields f1,f2 |
Return only named fields — reduces token usage |
Always use --json when parsing output programmatically. Use --fields to minimize tokens when you only need specific data.
Available Resources
| Resource | Commands | Auth Required |
|---|---|---|
version |
rema version |
No |
customer |
get, minimal, update |
Yes |
offers |
list |
Yes |
campaigns |
list |
Yes |
articles |
search, image |
Yes |
stores |
get, search, hours |
Yes |
transactions |
list, get |
Yes |
lists |
list, get, create, delete, share, image |
Yes |
items |
add, update, delete, clear, activate |
Yes |
Error Handling
All errors produce JSON on stderr with exit code 1:
{"error": "Token not configured. Run `rema auth login`."}
If you receive an auth error, run rema auth status to check token state. Tokens auto-refresh, but if the refresh token itself has expired, run rema auth login again.
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.
- 7d ago First seen · 74 lines · 35 tokens per session scan A 2f2086832ce5
rema-shared is a skill published in the GitHub repository Alfredvc/rema1000-cli (11 stars, last pushed 4mo ago), licensed MIT. It adds 35 tokens to every session and 748 once invoked, about $0.0002 per session on Opus 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
product-showcase-page
Build a single-product deep-dive showcase page as a self-contained HTML file. Triggers on: "build a product showcase page", "deep dive landing page for [product]", "create a product spotlight page", "product feature page", "single product page", "detailed page about [product]", "build a page showing everything about…
show-off
Create polished self-contained HTML showcase pages and section screenshots for demos, launch posts, social media, article illustrations, and visual presentations. Use when the user wants to turn a project, feature, case study, markdown brief, or prompt into a bilingual scrollable showcase with reusable promo images.
criador-de-portfolio
Construção de portfólio profissional digital: seleção e apresentação de projetos, estrutura de cases com problema-solução-resultado, showcase de habilidades e estratégia de distribuição para atrair clientes e recrutadores.
mk:showcase
Create a self-contained, visually polished HTML showcase page for a topic or set of artifacts. Supply a mission (topic summary) and optional artifact paths explicitly — the skill never auto-scans the repo. Writes output to assets/showcase/ /. Screenshots are optional (requires Puppeteer). Publishing is local-only by…
logo-generator
Generate professional SVG logos and high-end showcase images. Use when the user wants to: (1) Create a logo or icon for their product/brand, (2) Generate logo design concepts based on product information, (3) Create professional logo showcase presentations with multiple background styles, (4) Export logos in various…
product-showcase-page
Build a single-product deep-dive showcase page as a self-contained HTML file. Triggers on: "build a product showcase page", "deep dive landing page for [product]", "create a product spotlight page", "product feature page", "single product page", "detailed page about [product]", "build a page showing everything about…