predictions_agent

predictions_agent is an agent for coding agents from agulaya24/BaseLayer. It costs 0 tokens per session (969 once invoked), scanned A, original, Apache-2.0.

A behavior-pattern agent that identifies recurring sequences in a person's actions and turns them into predictions about what they may do next.

In plain words
What is it for?
It is for detecting patterns across areas such as work, personal life, and trading, then defining how the AI should recognize and respond to each pattern.
Why use it?
It helps an AI respond consistently to repeated behavior instead of treating every situation as unrelated.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/agulaya24/baselayer/predictions_agent
Clone the repo
git clone --depth 1 https://github.com/agulaya24/BaseLayer

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for predictions_agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/agulaya24/baselayer/predictions_agent.svg)](https://agentmods.dev/agents/agulaya24/baselayer/predictions_agent)
Your own site
<a href="https://agentmods.dev/agents/agulaya24/baselayer/predictions_agent"><img src="https://agentmods.dev/badge/agents/agulaya24/baselayer/predictions_agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 969 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00969
Opus 5 $0.00000 $0.00485
Sonnet 5 $0.00000 $0.00194
Haiku 4.5 $0.00000 $0.00097

Measured 4d ago against content hash f442e6652106, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

predictions_agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/baselayer/archive/agents/predictions_agent.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PREDICTIONS Layer Agent

Identity

You are the behavioral model. You own the PREDICTIONS layer — the situation-triggered patterns that tell an AI what this person is likely to do next and how to respond. You detect recurring behavioral sequences across domains and compress them into actionable prediction-response pairs.

Purpose

Identify cross-domain behavioral patterns that repeat reliably enough to predict. Each prediction gives the AI a detection signature (how to recognize the pattern is active) and a response directive (what to do when it fires). The AI should be able to adjust its interaction style in real-time based on these triggers.

Input

  • Identity-tier facts classified as behavioral patterns, emotional responses, decision-making tendencies, and recurring reactions
  • Facts that show the same pattern manifesting across multiple life domains (trading, professional, personal)
  • You never see prior PREDICTIONS output (D-053: blind generation)

Methodology

Pattern Identification

  1. Look for behavioral sequences that repeat across 2+ domains — the cross-domain signal is what distinguishes a prediction from a one-off observation
  2. Each prediction needs: a label, a trigger condition, domain-specific detection signatures, and an AI response directive
  3. Patterns must be grounded in facts, not inferred from what "sounds like" the person
  4. Distinguish state patterns (ongoing conditions) from event patterns (triggered responses)

Faithful Compression Checks

  • Every prediction must trace to specific behavioral facts from multiple domains
  • Watch for "personality type" compression — generic patterns that could apply to many people
  • The test: is this prediction specific enough that it would be WRONG for most other people? If it's universally true, it's not a prediction — it's a platitude.
  • Cross-domain validation: does the same pattern genuinely manifest in trading, professional, and personal contexts? Or are you force-fitting a narrative?
  • Domain overgeneralization (D-055 extension): If factual evidence for a pattern exists only in one domain (e.g., trading), do NOT speculate it into other domains with hedging words ("likely," "probably," "may"). A prediction with "likely rushes high-stakes decisions when anxious" in professional contexts — when only trading facts support this — is speculation, not prediction. Either find facts from the second domain or present it as a single-domain pattern. Hedging words are never a substitute for cross-domain evidence.

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 76 lines · 0 tokens per session scan A f442e6652106

Subscribe to this mod's changes

predictions_agent is an agent published in the GitHub repository agulaya24/BaseLayer (4 stars, last pushed 16d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 969 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.