OpenParable
Skip to content
← Back to skills

Forgetful Procedures

Agent Building
forgetful-procedures

Forgetful Procedures is an Agent Skill for agent building published in the ScottRBK/forgetful repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Store and find procedural knowledge — reusable step-by-step how-tos — in Forgetful's skill store. Use when a workflow worth repeating gets worked out, when the user asks how something is done here, or when importing or exporting SKILL.md files. Litmus: a procedure someone follows is a skill; a fact someone recalls is a memory.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ScottRBK/forgetful/blob/HEAD/skills/forgetful-procedures/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/forgetful-procedures, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Storing and finding procedures

Forgetful's skill store is procedural memory: how-tos that agents retrieve by capability and follow. All skill operations run through the standard invocation surface below, the same as every other domain.

Invoking operations

Operations are named by registry name (search_skills, create_skill, ...). Invoke via whichever surface this agent has:

  • MCP: execute_forgetful_tool(tool_name="search_skills", arguments={...})
  • CLI: forgetful call search_skills --args '{"query": "..."}' --json

Get any operation's schema at runtime: how_to_use_forgetful_tool (MCP) or forgetful tools info <operation> (CLI) — schemas are deliberately not repeated here.

Step 1 — Apply the litmus

"How to review pull requests in this project" is a skill; "we use conventional commits" is a memory (forgetful-remember). A procedure has steps someone follows in order; a fact is recalled and applied.

Done when: the content is confirmed procedural.

Step 2 — Search before create

search_skills for the capability first — search is semantic over skill descriptions, so query by what the procedure achieves ("deploy the API", "rotate credentials"), not its exact name. An existing skill that covers it gets updated (update_skill) rather than duplicated; names are unique.

Done when: create vs update is an informed decision.

Step 3 — Create with the description carrying the weight

The description is the only embedded field — content (up to 100KB) is stored but never searched semantically. Write the description as the retrieval surface: what the procedure achieves, when to reach for it, capability keywords. Then create_skill with kebab-case name, the full markdown procedure as content, tags, and importance.

Done when: the skill exists and a capability-phrased search_skills finds it.

Step 4 — Import / export SKILL.md

import_skill ingests a SKILL.md string: YAML frontmatter needs name and description; license, compatibility, tags, metadata, and allowed-tools (hyphenated on disk, mapped to allowed_tools internally) are honoured. The body after the frontmatter becomes the content. export_skill re-emits the SKILL.md, round-trip faithful — tags included.

Done when: imported skills search well (check the description survived intact) and exports open cleanly in the target platform.

Step 5 — Link the supporting material

Procedures rarely stand alone: link_skill_to_memory for the decisions behind the procedure, link_skill_to_document for long-form background, link_skill_to_code_artifact for the code it operates, link_skill_to_file for bundled assets. get_skill_links shows everything attached — it is the reverse lookup, returning linked memory, file, code artifact, and document IDs.

Done when: following the procedure never requires hunting for its supporting material.