Agent skill

Predict

by ThinkfleetAI in ThinkfleetAI/memmesh

Forecast what a subject will do next from their mined behavior patterns — with a calibrated, horizon-decayed confidence and provenance.

Apache-2.0Auto-check passedAgent Workflows

Install Predict

skills CLI
$ npx skills add ThinkfleetAI/memmesh --skill predict -a claude-code

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

GitHub CLI
$ gh skill install ThinkfleetAI/memmesh predict --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/ThinkfleetAI/memmesh.git skills-src && mkdir -p .claude/skills && cp -r skills-src/integrations/memmesh-plugin/skills/predict .claude/skills/predict && 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
predict
GitHub stars
420
Token cost
~619 tokens
SKILL.md length
248 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
Apache-2.0

At a glance

Forecast what a subject will do next from their mined behavior patterns — with a calibrated, horizon-decayed confidence and provenance.

  • The user asks what is this user/account likely to do next
  • SKILL.md covers Forward behavior prediction…, Read the result honestly, Predict ANY target (hosted /… and Prereq
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Will X churn/convert/ reorder

What it does

Predict is an agent skill from ThinkfleetAI/memmesh. Forecast what a subject will do next from their mined behavior patterns — with a calibrated, horizon-decayed confidence and provenance. Use when the user asks "what is this user/account likely to do next", "will X churn/convert/ reorder", or wants a forward prediction rather than a recall of known facts. This is a MemMesh capability a plain memory layer does not have.

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent memory. The repository describes itself as: Persistent, self-improving memory for AI agents. Local-first Rust memory engine with MCP support. The licence is Apache-2.0.

When your agent uses it

  • The user asks what is this user/account likely to do next
  • Will X churn/convert/ reorder
  • Wants a forward prediction rather than a recall of known facts

Example prompts

  • “what is this user/account likely to do next”
  • “will X churn/convert/ reorder”
  • “/predict”

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are jsonc and typescript).

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Predict loads about 619 tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 248 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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 ThinkfleetAI/memmesh at commit bba48f8, republished under its Apache-2.0 licence (© ThinkfleetAI). 248 words, ~619 tokens.

Download SKILL.mdSave it as .claude/skills/predict/SKILL.md (or your agent's skills folder).
name
predict
description
Forecast what a subject will do next from their mined behavior patterns — with a calibrated, horizon-decayed confidence and provenance. Use when the user asks "what is this user/account likely to do next", "will X churn/convert/ reorder", or wants a forward prediction rather than a recall of known facts. This is a MemMesh capability a plain memory layer does not have.

predict

⚙️ Requires MemMesh hosted mode. Calibrated prediction and behavior discovery run on the hosted engine — set your mm- API key. On a local / open-source install these tools (memory_predict, memory_build_context) are not registered; if a call returns "unknown tool", tell the user this is a hosted capability and fall back to search / recall for what's already known.

Turn accumulated memory into a forward forecast. Unlike search ("what do we know"), predict answers "what happens next" — and it tells you how confident it honestly is, or abstains.

Forward behavior prediction (local MCP)

jsonc
{ "name": "memory_predict",
  "arguments": { "subjectKind": "user", "subjectId": "<id>",
                 "horizonDays": 30, "minConfidence": 0.5, "limit": 20 } }

Returns ranked predictions, each with a confidence decayed over the horizon and the provenance behind it. Confidence is calibrated — 0.8 means it's right ~80% of the time — not a raw model logit.

Read the result honestly

  • Present the top predictions with their confidence and horizon.
  • If a prediction abstains (not enough evidence), say so plainly — "not enough signal yet" is a valid, correct answer, and the point of MemMesh.
  • Cite the evidence ids so the user can trace why. Use the why skill to dig into calibration/provenance.

Predict ANY target (hosted / SDK)

The declarative "predict anything" surface (lattice.predictTarget with target.kind ∈ event_occurrence | numeric | event_time | anomaly) lets you add a new prediction with no code change — just name the target. It runs on the hosted gRPC/SDK path:

ts
await memory.lattice.predictTarget({
  subject: { kind: "account", externalId: "acme" },
  target:  { kind: "event_occurrence", name: "churn" },
});

Prereq

Predictions come from mined behavior_pattern memories. If memory_predict returns nothing, the subject may not have enough observed history yet — feed more via observe, or check what patterns exist with the behaviors skill.

© ThinkfleetAI, Apache-2.0. 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 integrations/memmesh-plugin/skills/predict of ThinkfleetAI/memmesh.

Open the folder on GitHubat commit bba48f8

Compare with similar skills

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

Predict compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Predict this skillThinkfleetAI/memmesh420—~619Automated safety check: PassApache-2.0
Coding Agent Session Findercode-yeongyu/oh-my-openagent70k1 repos~2.8kAutomated safety check: PassCustom licence
Claude-Mem Cloud Syncthedotmack/claude-mem98k1 repos~1kAutomated safety check: NotesApache-2.0
Cognee CLI Memory Commandstopoteretes/cognee32k1 repos~2.2kAutomated safety check: NotesApache-2.0
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Claude-Mem Searchthedotmack/claude-mem98k1 repos~511Automated safety check: PassApache-2.0

Similar skills

  • Coding Agent Session Finder

    code-yeongyu/oh-my-openagent

    Finds, reads and reconstructs past coding-agent sessions across Codex, Claude, OpenCode, Senpi and many other local agent logs.

    70k GitHub starsUsed in 1 repo~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude-Mem Cloud Sync

    thedotmack/claude-mem

    Checks claude-mem cloud sync status and guides you through connecting a cmem.ai Pro account without the sync token ever passing through the chat.

    98k GitHub starsUsed in 1 repo~1k tokens
    Agent WorkflowsAuto-check: notes
  • Cognee CLI Memory Commands

    topoteretes/cognee

    Drives cognee from the terminal with remember, recall, forget and improve memory commands, dataset and config management and database migrations.

    32k GitHub starsUsed in 1 repo~2.2k tokens
    Agent WorkflowsAuto-check: notes
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Claude-Mem Search

    thedotmack/claude-mem

    Searches the user's persistent cross-session memory for timestamped observations synthesized from past agent sessions on cmem.ai.

    98k GitHub starsUsed in 1 repo~511 tokens
    Agent WorkflowsAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from ThinkfleetAI/memmesh

All 24 skills in this repo
  • Behaviors

    ThinkfleetAI/memmesh

    Surface emergent behavior patterns MemMesh has mined from a subject's history — recurring habits nobody predefined, each with prevalence, stability, and the evidence behind it.

    420 GitHub stars~519 tokensUpdated 1 mo ago
    Auto-check passed
  • Benchmark

    ThinkfleetAI/memmesh

    Run MemMesh's competitive benchmark harness (LOCOMO / BEAM) to compare retrieval quality, tokens, latency, and cost against Mem0, Zep, full-context, and naive-RAG baselines.

    420 GitHub stars~460 tokensUpdated 1 mo ago
    Auto-check passed
  • Context Loader

    ThinkfleetAI/memmesh

    Load relevant MemMesh context before starting work — searches memory and, for a specific subject, assembles a token-budgeted bundle (profile + behavior patterns + forward predictions + top memories)…

    420 GitHub stars~530 tokensUpdated 1 mo ago
    Auto-check passed
  • Graph

    ThinkfleetAI/memmesh

    Query MemMesh's bi-temporal knowledge graph — multi-hop reasoning across entities, point-in-time "what did we believe on date X", and anticipatory retrieval via spreading activation.

    420 GitHub stars~611 tokensUpdated 1 mo ago
    Auto-check passed
  • Memmesh CLI

    ThinkfleetAI/memmesh

    MemMesh CLI + local MCP server — the zero-infra, no-API-key path to the same engine as the hosted SDK.

    420 GitHub stars~855 tokensUpdated 1 mo ago
    Auto-check passed
  • Memmesh SDK

    ThinkfleetAI/memmesh

    MemMesh TypeScript SDK reference (@thinkfleet/memory-sdk) for the hosted platform at app.memmesh.ai.

    420 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Predict

What does Predict do?

Forecast what a subject will do next from their mined behavior patterns — with a calibrated, horizon-decayed confidence and provenance. Predict is an agent skill from ThinkfleetAI/memmesh. Forecast what a subject will do next from their mined behavior patterns — with a calibrated, horizon-decayed confidence and provenance.

When should I use Predict?

Predict fits situations like: the user asks what is this user/account likely to do next; will X churn/convert/ reorder; wants a forward prediction rather than a recall of known facts.

How do I install Predict in Claude Code?

Run `npx skills add ThinkfleetAI/memmesh --skill predict -a claude-code`. Or copy the skill folder (integrations/memmesh-plugin/skills/predict in ThinkfleetAI/memmesh) into .claude/skills/predict in your project. Claude Code loads it when a task matches its description.

How do I install Predict in Codex?

Run `npx skills add ThinkfleetAI/memmesh --skill predict -a codex`. Or copy the skill folder (integrations/memmesh-plugin/skills/predict in ThinkfleetAI/memmesh) into .agents/skills/predict in your project. Codex loads it when a task matches its description.

Can I use Predict 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 ThinkfleetAI/memmesh --skill predict -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/predict, .gemini/skills/predict, .github/skills/predict and .opencode/skills/predict in your project.

What does Predict need to run?

SKILL.md names no scripts, command-line tools or credentials: Predict is instructions for the agent only.

Does Predict access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Predict safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Predict use?

Predict is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Predict use?

About 619 tokens (SKILL.md is roughly 2.5k 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 Predict?

Skills that share tags, products or a category with Predict: Coding Agent Session Finder (code-yeongyu/oh-my-openagent, 70k stars), Claude-Mem Cloud Sync (thedotmack/claude-mem, 98k stars), Cognee CLI Memory Commands (topoteretes/cognee, 32k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Predict?

ThinkfleetAI (a GitHub organization) maintains it in ThinkfleetAI/memmesh, which has 420 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on August 25, 2026.

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