Agent skill

Forgetful CLI Setup

by ScottRBK in ScottRBK/forgetful

Installs and connects the Forgetful CLI in local or remote mode, sets up token auth for CI, and proves the setup with a real round-trip call.

MITAuto-check: notesAgent Workflows

Install Forgetful CLI Setup

skills CLI
$ npx skills add ScottRBK/forgetful --skill forgetful-cli-setup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ScottRBK/forgetful forgetful-cli-setup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ScottRBK/forgetful.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/forgetful-cli-setup .claude/skills/forgetful-cli-setup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
forgetful-cli-setup
GitHub stars
301
Token cost
~898 tokens
SKILL.md length
355 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Installs and connects the Forgetful CLI in local or remote mode, sets up token auth for CI, and proves the setup with a real round-trip call.

  • Works in 4 steps: Curated verbs for the common paths:… → forgetful tools list [--category ] to… → forgetful tools info for the schema. → …
  • Installing the Forgetful CLI on a developer machine
  • SKILL.md covers Install, Choose a mode, Verify — the completion… and The machine contract, plus 2 more sections
  • Calls uvx and pip; needs FORGETFUL_TOKEN

What it does

The skill ends with a verified round-trip, not just an installed binary. Installation uses uvx forgetful-ai --version for a one-off run or pip install forgetful-ai, or uv tool install. Local mode, the default, runs in-process against the locally configured database with no server. Remote mode drives a deployed server, either through browser OAuth with forgetful auth login --server or, for headless and CI use, through the FORGETFUL_SERVER and FORGETFUL_TOKEN environment variables.

Setup counts as done when forgetful tools list and forgetful project list --json both succeed against the intended target. For scripts and agents the skill describes a machine contract: pass --json on data commands, expect errors as JSON on stderr, and rely on exit codes 0 for success, 1 for a tool or runtime error and 2 for a usage error. A discovery ladder moves from curated verbs such as memory search, save, get and recent to tools list, tools info and call with JSON arguments. It also shows running a local server with forgetful serve over http or stdio.

When your agent uses it

  • Installing the Forgetful CLI on a developer machine
  • Connecting a CI job or headless agent to a Forgetful server with a token
  • Checking that a local or remote Forgetful setup works end to end
  • Scripting Forgetful calls that need JSON output and reliable exit codes

Example prompts

  • “Set up the Forgetful CLI in local mode and verify it with a real call.”
  • “Connect this CI job to our Forgetful server using a bearer token from the environment.”
  • “Start a local Forgetful server over http on port 8020.”

Requirements

  • Python with pip, or uv, to install forgetful-ai
  • A Forgetful server URL and token for remote mode
  • Pre-approved tools (allowed-tools): Bash(forgetful:*)

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit 7afcbf1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(forgetful:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uvx
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uvx and pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • FORGETFUL_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Forgetful CLI Setup loads about 898 tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 355 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~898

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:41
    rges shell env over `~/.config/forgetful/.env`. Check state anytime with

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ScottRBK/forgetful at commit 7afcbf1, republished under its MIT licence (© ScottRBK). 355 words, ~898 tokens.

Download SKILL.mdSave it as .claude/skills/forgetful-cli-setup/SKILL.md (or your agent's skills folder).
name
forgetful-cli-setup
description
Set up the Forgetful CLI and connect from a terminal — install, local or remote mode, auth, and verification. Use when connecting a human or headless agent via shell, wiring CI with token auth, or operating a local server (serve, database selection, feature flags, re-embedding). Also covers the machine contract: --json output, exit codes, and the discovery ladder.
allowed-tools
Bash(forgetful:*)
license
MIT
disable-model-invocation
true
tags
cli, setup, auth, operations, terminal

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

bash
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

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

Show full SKILL.md (154 more words)Show less

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.

The judgment for what to store, query, and link lives in the domain skills (forgetful-remember, forgetful-recall, ...) — the ladder is how the CLI reaches the same operations.

Operating a local server

  • forgetful serve --transport http --host 0.0.0.0 --port 8020 (or --transport stdio for MCP clients that spawn a process).
  • Database via env: DATABASE=SQLite with SQLITE_PATH (file) or SQLITE_MEMORY=true (ephemeral), or DATABASE=Postgres with POSTGRES_HOST/PORT/DB/USER/PASSWORD.
  • Feature flags (default off): SKILLS_ENABLED, FILES_ENABLED, PLANNING_ENABLED — discovery reflects whatever is enabled.
  • After changing embedding provider or model: forgetful re-embed --dry-run to preview, then forgetful re-embed (batch size tunable via --batch-size).

Done when: /health answers (HTTP) or an MCP client lists the three meta-tools (stdio).

© ScottRBK, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/forgetful-cli-setup of ScottRBK/forgetful.

Open the folder on GitHubat commit 7afcbf1

Compare with similar skills

Forgetful CLI Setup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Forgetful CLI Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Forgetful CLI Setup this skillScottRBK/forgetful301—~898Automated safety check: NotesMIT
MemPalace Setup and OperationMemPalace/mempalace59k—~2.2kAutomated safety check: PassMIT
agentmemory Setup and Diagnosticsrohitg00/agentmemory29k—~1kAutomated safety check: NotesApache-2.0
Qmdbreferrari/obsidian-mind4.9k—~1.7kAutomated safety check: PassMIT
Memori MCP Memory UsageMemoriLabs/Memori17k—~3.8kAutomated safety check: PassMIT
Shared Agent Knowledge Commonsmozilla-ai/cq1.3k—~6.5kAutomated safety check: PassApache-2.0

Similar skills

  • Installs and configures MemPalace as a private local palace, a shared-brain hub or a client of an existing hub, including MCP registration and version-correct initialization.

    59k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Sets up and troubleshoots a local agentmemory install, covering the MCP connection, environment variables, ports, authentication and optional feature flags.

    29k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Qmd

    breferrari/obsidian-mind

    Search the vault using QMD semantic search. An agent skill from breferrari/obsidian-mind.

    4.9k GitHub stars~1.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Memori MCP Memory Usage

    MemoriLabs/Memori

    Teaches an MCP-connected agent when and how to call Memori's recall, summary, compaction, augmentation, feedback and quota tools to keep context across sessions.

    17k GitHub stars~3.8k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • Queries a shared knowledge store before acting, proposes newly discovered insights, and confirms or flags existing entries, so agents stop rediscovering the same failures.

    1.3k GitHub stars~6.5k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Agent Recall

    Goldentrii/AgentRecall-X

    Persistent compounding memory for AI agents. An agent skill from Goldentrii/AgentRecall-X.

    371 GitHub stars~5.2k tokensUpdated 9 days ago
    Agent WorkflowsAuto-check: notes

More from ScottRBK/forgetful

All 10 skills in this repo
  • Forgetful Remember

    ScottRBK/forgetful

    Decides where a piece of knowledge belongs in the Forgetful memory server, checks for existing entries first, then creates and links it without deleting anything.

    301 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Forgetful Repo Encoding

    ScottRBK/forgetful

    Encodes a repository into the Forgetful knowledge base as a project, entities, atomic memories and documents, so a second run updates instead of duplicating.

    301 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Forgetful Entity Modeling

    ScottRBK/forgetful

    Models people, organisations, devices, products and system components as entities in a Forgetful knowledge graph, then links memories and relationships to them.

    301 GitHub stars~836 tokensUpdated today
    Auto-check passed
  • Explores the Forgetful memory graph in phases, walking memories, entities and relationships to answer cross-project and entity-centred questions.

    301 GitHub stars~898 tokensUpdated today
    Auto-check passed
  • Forgetful File Storage

    ScottRBK/forgetful

    Stores screenshots, PDFs, diagrams, fonts and other binary files in the Forgetful knowledge base, with a retrieval-friendly description and an attachment route.

    301 GitHub stars~618 tokensUpdated today
    Auto-check passed
  • Forgetful MCP Client Setup

    ScottRBK/forgetful

    Connects an MCP client to the Forgetful memory server over stdio or HTTP, then confirms the link works with discovery and round-trip calls.

    301 GitHub stars~682 tokensUpdated today
    Auto-check passed

Questions about Forgetful CLI Setup

What does Forgetful CLI Setup do?

Installs and connects the Forgetful CLI in local or remote mode, sets up token auth for CI, and proves the setup with a real round-trip call. The skill ends with a verified round-trip, not just an installed binary. Installation uses uvx forgetful-ai --version for a one-off run or pip install forgetful-ai, or uv tool install.

When should I use Forgetful CLI Setup?

Forgetful CLI Setup fits situations like: installing the Forgetful CLI on a developer machine; connecting a CI job or headless agent to a Forgetful server with a token; checking that a local or remote Forgetful setup works end to end; scripting Forgetful calls that need JSON output and reliable exit codes.

How do I install Forgetful CLI Setup in Claude Code?

Run `npx skills add ScottRBK/forgetful --skill forgetful-cli-setup -a claude-code`. Or copy the skill folder (skills/forgetful-cli-setup in ScottRBK/forgetful) into .claude/skills/forgetful-cli-setup in your project. Claude Code loads it when a task matches its description.

How do I install Forgetful CLI Setup in Codex?

Run `npx skills add ScottRBK/forgetful --skill forgetful-cli-setup -a codex`. Or copy the skill folder (skills/forgetful-cli-setup in ScottRBK/forgetful) into .agents/skills/forgetful-cli-setup in your project. Codex loads it when a task matches its description.

Can I use Forgetful CLI Setup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ScottRBK/forgetful --skill forgetful-cli-setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/forgetful-cli-setup, .gemini/skills/forgetful-cli-setup, .github/skills/forgetful-cli-setup and .opencode/skills/forgetful-cli-setup in your project.

What does Forgetful CLI Setup need to run?

Going by SKILL.md and its folder, Forgetful CLI Setup needs the command-line tools its instructions call (uvx and pip) and credentials named FORGETFUL_TOKEN. Our summary lists: Python with pip, or uv, to install forgetful-ai; A Forgetful server URL and token for remote mode. Its frontmatter pre-approves these tools: Bash(forgetful:*).

Does Forgetful CLI Setup access the network?

SKILL.md contains no URLs. Its commands use uvx and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Forgetful CLI Setup safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Forgetful CLI Setup use?

Forgetful CLI Setup is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Forgetful CLI Setup use?

About 898 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Forgetful CLI Setup?

Skills that share tags, products or a category with Forgetful CLI Setup: MemPalace Setup and Operation (MemPalace/mempalace, 59k stars), agentmemory Setup and Diagnostics (rohitg00/agentmemory, 29k stars), Qmd (breferrari/obsidian-mind, 4.9k stars) and Memori MCP Memory Usage (MemoriLabs/Memori, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Forgetful CLI Setup?

ScottRBK (a GitHub user) maintains it in ScottRBK/forgetful, which has 301 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 6, 2026.

Source: ScottRBK/forgetful on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.