forgetful-cli-setup

forgetful-cli-setup is a skill for Claude Code, Codex from ScottRBK/forgetful. It costs 84 tokens per session (896 once invoked), scanned A, original, MIT.

Instructions for setting up the Forgetful command-line interface, a terminal program for connecting to a Forgetful knowledge base. It covers local and remote connections, authentication, configuration, and verification.

In plain words
What is it for?
Use it to install the CLI, choose local or remote mode, log in, configure headless access with environment variables, inspect authentication state, and check available tools.
Why use it?
It removes the uncertainty around connecting a person, automated agent, or continuous-integration job to the correct knowledge-base server. Verification confirms that the setup actually works.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/scottrbk/forgetful/forgetful-cli-setup
Any agent
npx skills add ScottRBK/forgetful --skill forgetful-cli-setup
Clone the repo
git clone --depth 1 https://github.com/ScottRBK/forgetful

Made for: Claude Code, Codex.

Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 896 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00084 $0.00896
Opus 5 $0.00042 $0.00448
Sonnet 5 $0.00017 $0.00179
Haiku 4.5 $0.00008 $0.00090

Measured 3d ago against content hash f6441db7ee21, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

forgetful-cli-setup 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 3d 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.

skills/forgetful-cli-setup/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setting up the Forgetful CLI

The CLI is the shell-native surface: same tool registry as MCP, reachable by anything that can run a command. Setup ends with a verified round-trip, not an installed binary.

Install

uvx forgetful-ai --version     # ephemeral, no install
pip install forgetful-ai       # or: uv tool install forgetful-ai

Both forgetful and forgetful-ai invoke the same CLI.

Choose a mode

Connection precedence: --local > --server URL > FORGETFUL_SERVER env > local default.

  • Local (default): runs in-process against the locally configured database — zero config, no server needed. Right for a personal knowledge base on one machine.
  • Remote: drives a deployed server. Interactive use: forgetful auth login --server <url> (browser OAuth; tokens cached under ~/.config/forgetful/, server written to the user config). Headless/CI use: set FORGETFUL_SERVER and FORGETFUL_TOKEN (bearer) in the environment — no browser involved.

Config merges shell env over ~/.config/forgetful/.env. Check state anytime with forgetful auth status.

Verify — the completion criterion

forgetful tools list                          # registry categories come back
forgetful project list --json                 # one real call round-trips

Done when: both succeed against the intended target (local or the remote URL).

The machine contract

For scripts and agents, pass --json on data commands — tools, call, memory, and project verbs: results are machine JSON, errors arrive as {"error": ...} on stderr. auth subcommands are human-oriented and don't take --json. Exit codes are contractual — 0 success, 1 tool or runtime error, 2 usage error. Parse output, branch on exit code.

The discovery ladder

  1. Curated verbs for the common paths: forgetful memory search|save|get|recent, forgetful project list.
  2. forgetful tools list [--category <c>] to discover every registry operation.
  3. forgetful tools info <operation> for the schema.
  4. forgetful call <operation> --args '<JSON>' to invoke anything the registry has.

Read the full file on GitHub · 84 lines

Changes

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.

  1. 3d ago First seen · 84 lines · 84 tokens per session scan A f6441db7ee21

Subscribe to this mod's changes

forgetful-cli-setup is a skill published in the GitHub repository ScottRBK/forgetful (296 stars, last pushed 8d ago), licensed MIT. It adds 84 tokens to every session and 896 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

setup

Connect and authenticate the UptimeRobot MCP server (OAuth via mcp-remote), OR diagnose why uptimerobot: MCP tools aren't visible in the current session. Invoke this skill any time you cannot see UptimeRobot tools, before telling the user the MCP is misconfigured — Step 0 detects the most common case (server already…

uptimerobot/ai · 103 tokens

bookkeeping-setup

Create a bookkeeping context profile before downstream bookkeeping work. Captures entity type, tax jurisdiction, accounting method, chart of accounts baseline, connected tools, approval thresholds, record-retention policy, and review boundaries. Trigger on "set up my bookkeeping", "bookkeeping context", "chart of…

Receiptor-AI/bookkeeping-skills · 84 tokens

pilot-e-commerce-ops-setup

Deploy an e-commerce operations system with 4 agents for catalog, orders, inventory, and support. Use this skill when: 1. User wants to set up e-commerce or online store operations 2. User is configuring an agent as part of an e-commerce automation setup 3. User asks about product catalogs, order processing, inventory…

TeoSlayer/pilot-skills · 122 tokens

sales-crm-setup

Guide to configuring a sales CRM — pipeline stages, deal fields, lead statuses, activity logging, automations, and views.

Autter-dev/agentic-sales-skills · 31 tokens

terminal-setup-install

Idempotent macOS terminal installer for Ghostty, Oh My Zsh, Powerlevel10k, Glow, MesloLGS Nerd Font, plus optional markdown preview and clickable-path extras.

YoungLeadersDotTech/young-leaders-tech-marketplace · 44 tokens

weekly-digests

Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests"…

thedotmack/claude-mem · 93 tokens