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

/fulcra-ingest

@f5d1e36
Run it yourself

Autonomously orchestrate the ingestion of 3rd-party data exports (e.g., Spotify, Netflix) from the Fulcra File Store into properly mapped Fulcra Annotations.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈43 tokens for metadata: the name and description. ≈2.2k when used: this file. ≈5.2k more on demand in 3 files.

Description uses 2.2% 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 ≈173 characters, or 2.2%.

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 Ingest

This skill orchestrates the ingestion of 3rd-party data exports that the user has uploaded to their Fulcra File Store. It profiles the data schemas, creates idempotent Fulcra Annotation mappings, and ingests the data points.

General Guidelines

  • Zero User Friction: Assume the user has dumped a raw ZIP/JSON/CSV into their Fulcra ingest. Do not ask them to map schemas manually unless absolutely necessary for a completely unrecognized format.
  • Automation: You can set up a cron job, a continuous loop, or a heartbeat reminder (depending on what is appropriate for the running agent) to periodically check the ingest/ directory for new files or to fetch data from APIs and other sources. You must explicitly confirm what data will be collected, how often, where it will be stored, and how to stop the operation before establishing automated fetching.
  • Initial Setup Guidance: If the user is just setting up this skill for the first time, help them ingest and verify their first data source so they can see it working end-to-end.
  • File Filtering: Strictly ignore the _meta/ subdirectory and any .md files found in the ingest root to prevent attempting to ingest the agent's own OKF tracking files.
  • Idempotency: Never create duplicate schemas. Always use the annotation's description field to store the specific namespace (e.g., com.fulcradynamics.annotation.ingest.spotify) and check the catalog first.
  • Interactive Feedback & Logging: Maintain a running log of ingest events in ingest/_meta/ingest_log.md detailing what was ingested, record counts, and start/end dates. When completing an interactive ingestion or when asked about recent ingests, use this log to generate a fun, simple ASCII chart summarizing the data (e.g., a timeline or simple visualization showing start/end dates and record counts).

Advanced Data Capabilities

Beyond straightforward 1:1 data transfer, you can perform advanced transformations and enrichments to maximize the value of the user's data:

  1. Enhance Data (Augmentation): You can augment raw data by fetching additional context from auxiliary sources before ingestion. For example, when ingesting a Netflix viewing history, you could search the web to append actors, genres, or production dates to the records.
  2. Create Computed Data Tracks: You can generate entirely new data types informed by existing or newly ingested data. For example, you could create a "Rolling Weekly Song Count" track, or a "Movie Compatibility" track if you have viewing data for multiple users. Compute these insights and ingest them into their own dedicated Fulcra Annotations.
  3. Adjust Existing Data: You can adjust the tag scheme, values, or anything about existing data. To do this, delete the old records via the CLI (individual record deletion is not yet exposed by MCP), update the schema (creating a new data type if necessary), and re-ingest the data. You must obtain explicit user confirmation before deleting records. You can re-import previously archived files from ingest/_meta/archive/artifact/ to process the new tags. Before modifying or re-processing existing records, confirm the plan with the user.

References

  • references/fulcra-ingest-cli.md: The primary reference. Contains the necessary CLI commands, exact batch ingestion syntax, JSON schemas, and tagging instructions required for bulk ingestion.
  • references/fulcra-ingest-mcp.md: Use as an alternative for MCP schema, record, and text-file operations.
  • references/fulcra-ingest-source-mapping.md: Outlines the structure and workflow for maintaining the ingest/_meta/source_map.md file, which tracks data lineage, prevents duplicate schemas, handles ingest versioning, and logs archived files.
  • scripts/generate_deterministic_id.py: A python script that takes arbitrary string arguments and returns a consistent, deterministic UUID. Use this to ensure idempotency across ingested records.

The Pipeline

  1. The Fetcher (API/CLI Extraction) (If applicable)

    • You may inform the user that you can process manual file uploads or extract data from accessible APIs, local services, and CLI tools on their behalf.
    • You must receive explicit user consent before fetching data from any external API, local service, or CLI tool. Confirm the exact source, destination, frequency, and privacy implications with the user.
    • If the user explicitly requests to ingest data from an API, CLI tool, or local service rather than pointing to a pre-uploaded file, first fetch the data programmatically.
    • Save the fetched data to a structured file (e.g., CSV or JSON) in the local workspace.
    • Upload the file to the Fulcra File Store drop-zone using uvx fulcra-api file upload <local_file> ingest/<filename>.
    • Once uploaded, proceed with the standard triage process below.
  2. Triage

    • Use uvx fulcra-api file list to check the ingest/ directory. Explicitly ignore the _meta/ folder and any .md files.
    • If new data files are found, proceed to process them directly.
  3. Profiling & Ingestion

    • Retrieval: Execute uvx fulcra-api file download <file_id> ./<filename>.
    • Source Mapping & Schema Resolution: Crucial: You must strictly follow the agent workflow outlined in references/fulcra-ingest-source-mapping.md. Rely on the source_map.md registry to resolve the target schema ID. If you need to create a new schema for an unseen source, consult references/fulcra-ingest-cli.md for the correct CLI commands and base types.
    • Data Ingestion: Write and execute a Python script to parse the file.
      • Generate deterministic UUIDs for id using scripts/generate_deterministic_id.py (ensure you pass the source identifier followed by the specific ID fields to prevent cross-service collisions).
      • Construct the payload and push the records using the fulcra-api record command exactly as specified in references/fulcra-ingest-cli.md.
  4. Cleanup & Archive

    • Archive the processed file by downloading it from ingest/ and re-uploading it to ingest/_meta/archive/artifact/. When archiving, prefix the filename with a timestamp in the format YYYYMMDD-HHMMSS.
    • Example commands:
      • uvx fulcra-api file download ingest/NetflixViewingHistory.csv ./NetflixViewingHistory.csv (if not already downloaded)
      • uvx fulcra-api file upload ./NetflixViewingHistory.csv ingest/_meta/archive/artifact/20260625-143000_NetflixViewingHistory.csv
    • Safety Check: Before deleting the original file, you MUST verify that the file was successfully uploaded to the archive path (e.g., uvx fulcra-api file list ingest/_meta/archive/artifact/ or uvx fulcra-api file stat ingest/_meta/archive/artifact/20260625-143000_NetflixViewingHistory.csv). This is a move operation, so ensuring the destination exists is critical to avoid data loss.
    • You may execute fulcra-api file delete autonomously to remove the original file from the ingest/ directory (preventing re-ingestion), but only if the user explicitly approved the full ingest-and-archive lifecycle when the skill or automation was initially configured. If this is a one-off interactive session without prior blanket approval, verify the deletion with the user.
    • Finalize the process by updating the source_map.md in memory. Before overwriting the remote file, ensure you have downloaded the latest version to prevent wiping out concurrent changes. Then, upload it back to Fulcra, as instructed in the source mapping reference.
    • Update the Ingest Log: Append a brief summary of the completed ingestion to ingest/_meta/ingest_log.md (create it if it doesn't exist), including the source, start and end dates of the data, and total records ingested. Save it locally and upload it back to ingest/_meta/ingest_log.md via the Fulcra CLI.
    • User Handoff: If the user is present or asked about the ingestion directly, inform them that their data is being processed. Present them with a fun ASCII chart representing the data you just ingested (using the aggregate metrics from your ingest log). Point them to https://context.fulcradynamics.com/timeline?mode=week&date=YYYY-MM-DD to view their new data, where YYYY-MM-DD is calculated as six days before the latest recorded_at value in the ingested dataset (this ensures the week view includes the newest data point). Mention that for large datasets, it may take a little time for all records to fully appear on the timeline. Remind the user that if they ever want to change the tagging scheme or fix a mistake, they can simply ask you to correct the data and you will automatically handle the deletion and re-ingestion.

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 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is designed to automate the ingestion of personal data exports into the Fulcra platform. It uses the vendor's own CLI tools and dynamically generated scripts to process data. All identified behaviors, including task automation and data parsing, are standard for this type of agent and include appropriate user confirmation steps.

  • Socket2mo

    No alerts

  • Snyk2mo

    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 3 months ago
homepage
https://github.com/fulcradynamics/agent-skills
user-invocable
true
metadata
{
  "openclaw": {
    "emoji": "📥"
  }
}

README badge

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