Index of every page on this site: llms.txt
All skills
fulcradynamics avatar

/fulcra-prefs

@f5d1e36
Run it yourself

Load the user's cross-platform preferences at session start and capture new ones the moment they're expressed. Trigger when the user says 'remember that I…', 'from now on…', 'I always/never want…', corrects a preference you applied, or confirms a pattern you noticed — and at the start of any session where user preferences would change your behavior.

Use this Skill: https://skilld.dev/gh/fulcradynamics/agent-skills/fulcra-prefs

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈93 tokens for metadata: the name and description. ≈905 when used: this file.

Description uses 4.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈366 characters, or 4.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

fulcra-prefs

The user's preferences and facts live in their Fulcra account as typed, decaying signals. Your job is to LOAD them at session start, APPLY them, and CAPTURE new ones as they are expressed.

We use the base fulcra-api CLI and standard Fulcra Custom Annotations (specifically a MomentAnnotation named "User Preference") to manage this cross-platform preference system natively.

Bootstrapping (First Time Setup)

If you have never set up the preference system before, you must create the schema.

  1. Check if the schema exists:
    uv tool run fulcra-api catalog --user-only | jq '[.[] | select(.name == "User Preference")]'
  2. If it does not exist, create it:
    uv tool run fulcra-api data-type create MomentAnnotation "User Preference" --description "Cross-platform user preferences and facts"
    Capture the returned "id" (e.g., com.fulcradynamics.annotation.xyz). You will need this ID for loading and capturing preferences.

Load Preferences

Run this early in any session where you need context about the user's preferences:

  1. Retrieve all recorded preferences using the schema ID:
    uv tool run fulcra-api get-records MomentAnnotation "10 years" | jq '[.[] | select(.source_id == "<USER_PREFERENCE_ID>")]'
  2. The output will contain JSON payloads in the data field representing individual preference signals.
  3. Review these signals and synthesize them into your working context. If there are conflicting signals for the same "key" (e.g., an older preference vs. a newer correction), always honor the most recent one.

Capture Preferences

Capture creates durable records on the user's Fulcra timeline. Be conservative: capture what the user SAID or CONFIRMED, not silent inferences.

When to Capture:

  • Explicit asks: "remember that I…", "from now on…", "I always/never want…"
  • Corrections: "no, I prefer X"
  • Confirmed patterns: A pattern you observed and the user confirmed when asked.

DO NOT capture:

  • Unconfirmed inferences, one-off task context, credentials, health details the user didn't ask to store, or another person's preferences.

How to Capture (Recording)

When capturing a preference, you must construct a single stringified JSON object for the data field that conforms to the MomentAnnotation spec. Because the spec expects a single note field, you must serialize your entire preference structure into a string and store it inside the note property.

The inner serialized string should represent the preference logically (e.g., key, value, scope, strength).

Record the preference using the Fulcra Ingest API (injecting the token securely):

curl -i -X POST \
  -H "Authorization: Bearer $(uv tool run fulcra-api auth print-access-token)" \
  -H "Content-Type: application/json" \
  -d '{
    "metadata": {
      "data_type": "MomentAnnotation",
      "tags": [],
      "recorded_at": "<CURRENT_ISO_8601_UTC_TIMESTAMP>",
      "content_type": "application/json",
      "source": [
        "<USER_PREFERENCE_ID>"
      ]
    },
    "data": "{\"note\": \"{\\\"key\\\": \\\"comms.tone.concise\\\", \\\"value\\\": true, \\\"scope\\\": \\\"global\\\", \\\"strength\\\": 1.0}\"}"
  }' \
  https://api.fulcradynamics.com/ingest/v1/record

Rules

  • NEVER print or store the user's access token.
  • Respect scopes: per-platform overrides beat global.
  • Negative strength = aversion (don't suggest what they dislike; do not use .not keys).
  • Capture is consent-adjacent: only capture what the user said or explicitly confirmed.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning5mo3 checks · Risk SAFE
  • Gen Agent Trust Hub5mo

    The skill facilitates the management of user preferences via the Fulcra API. It uses vendor-provided tools and services in a secure manner, adhering to best practices for authentication and data handling.

  • Socket5mo

    No alerts

  • Snyk5mo

    Risk: MEDIUM · 1 issue

Signed by skilld at f5d1e36. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 5 days ago.

Activeupdated 5 months ago
homepage
https://github.com/fulcradynamics/agent-skills/tree/main/skills/fulcra-prefs
user-invocable
true
metadata
{
  "openclaw": {
    "emoji": "⚙️"
  }
}

README badge

README badge for fulcradynamics/agent-skills/fulcra-prefs