forgetful-cli-setup

forgetful-cli-setup is a skill for Claude Code from ScottRBK/forgetful. It costs 84 tokens per session (1,033 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 Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scottrbk/forgetful/forgetful-cli-setup
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.

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.

Wrote 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.

agentmods badge for forgetful-cli-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/scottrbk/forgetful/forgetful-cli-setup/github.svg)](https://agentmods.dev/skills/scottrbk/forgetful/forgetful-cli-setup)
Your own site
<a href="https://agentmods.dev/skills/scottrbk/forgetful/forgetful-cli-setup"><img src="https://agentmods.dev/badge/skills/scottrbk/forgetful/forgetful-cli-setup/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.

agentmods 80×15 button for forgetful-cli-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/scottrbk/forgetful/forgetful-cli-setup"><img src="https://agentmods.dev/badge/skills/scottrbk/forgetful/forgetful-cli-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,033 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 24
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
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.1 $0.00084 $0.01033
Opus 5.5 $0.00034 $0.00413
Sonnet 5.5 $0.00017 $0.00207
Haiku 4.5 $0.00008 $0.00103

Measured 24d ago against content hash 8d25c2f180b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 24d 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 · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 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 · 96 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. 24d ago Changed · +12 lines 8d25c2f180b0
  2. 3mo 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 (344 stars, last pushed 3d ago), licensed MIT. It adds 84 tokens to every session and 1,033 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-30.

Related

forgetful-cli-setup compared with skills from other repositories

forgetful-cli-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forgetful-cli-setupScottRBK/forgetfulSkill3443d agoMITA84Claude Code
aoe-invariantsagent-of-empires/agent-of-empiresSkill5.3ktodayMITA92Claude Code, Codex
firebaseericrisco/rsc-harnessSkill695yesterdayMITA77Claude Code, Codex
sibylhyperb1iss/sibylSkill712d agoApache-2.0A0Claude Code
mesh-memoryskillmds/skillmdSkill14224d agoMITA44Claude Code
doris-debug-resource-isolationapache/doris-skillsSkill526d agoApache-2.0A43Claude Code, Codex
crystalline-capturejordiboehme/crystallineSkill19todayMPL-2.0A47Claude Code, Codex