forgetful-cli-setup

forgetful-cli-setup is a skill for Claude Code 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 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 896 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.00896
Opus 5.5 $0.00034 $0.00358
Sonnet 5.5 $0.00017 $0.00179
Haiku 4.5 $0.00008 $0.00090

Measured 1mo ago against content hash f6441db7ee21, 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 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.

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. 1mo 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 (302 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 896 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

Other skills, from other repositories

firebase

Use when building on Firebase — Firestore data modeling, Security Rules, Auth and custom claims, Cloud Functions, Storage, modular Web/Admin SDK imports — including symptoms like a database open to the internet, a query rejected by rules, or a doc stuck at 1 write/sec. NOT managed-Postgres BaaS with SQL and RLS (that…

ericrisco/rsc-harness · 77 tokens

mesh-memory

Self-hosted semantic memory for AI agents via MCP. Save worklogs, decisions, and notes, then recall them across sessions by meaning, not keyword. Postgres + pgvector with auto-tagging.

skillmds/skillmd · 44 tokens

sibyl

Persistent memory and task coordination for this project. Invoke for any prompt about past work, project state, in-progress tasks, prior decisions, gotchas, or capturing a non-obvious learning. Also covers semantic search across project knowledge and external docs.

hyperb1iss/sibyl · 52 tokens

doris-debug-resource-isolation

Use for Doris Workload Group / resource tag queue starvation, CPU/memory isolation leaks, and workload policy debugging. Commands: SHOW WORKLOAD GROUPS, EXPLAIN resource.

apache/doris-skills · 43 tokens

crystalline-capture

Use when durable knowledge is learned while working, when the user asks to update a Crystalline domain, or before writing or editing an engram so it is deduplicated, well-formed and linked correctly.

jordiboehme/crystalline · 47 tokens

crystalline-schema

Use when a Crystalline domain wants structure for one of its engram types - authoring a Picoschema schema engram, running inferschema to bootstrap one from what is already captured, or validateengrams to check conformance.

jordiboehme/crystalline · 52 tokens