asi-core-integration

asi-core-integration is a skill for Claude Code, Codex from openamer/openamer. It costs 17 tokens per session (1,596 once invoked), scanned A, original, Apache-2.0.

A core tool layer that exposes 16 artificial-intelligence capabilities through five registered tools. It connects the agent to functions for status, thinking, learning, remembering, and triggering actions without starting separate programs.

In plain words
What is it for?
It helps developers build or extend the agent's native AI tools and connect subsystems such as self-modeling, world modeling, reasoning, prediction, and improvement.
Why use it?
Calling every capability as an external script adds process and integration overhead. A shared native layer gives the agent one consistent way to access these functions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps developers build or extend the agent's native AI tools and connect subsystems such as self-modeling, world modeling, reasoning, prediction, and improvement.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openamer/openamer/asi-core-integration
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.

Any agent
npx skills add openamer/openamer --skill asi-core-integration
Clone the repo
git clone --depth 1 https://github.com/openamer/openamer

Made for: Claude Code, Codex.

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 asi-core-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/openamer/openamer/asi-core-integration/github.svg)](https://agentmods.dev/skills/openamer/openamer/asi-core-integration)
Your own site
<a href="https://agentmods.dev/skills/openamer/openamer/asi-core-integration"><img src="https://agentmods.dev/badge/skills/openamer/openamer/asi-core-integration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for asi-core-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/openamer/openamer/asi-core-integration"><img src="https://agentmods.dev/badge/skills/openamer/openamer/asi-core-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,596 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00017 $0.01596
Opus 5.5 $0.00007 $0.00638
Sonnet 5.5 $0.00003 $0.00319
Haiku 4.5 $0.00002 $0.00160

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

Security

Grade A, and why

asi-core-integration scanned grade A with 1 finding 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run([sys.executable, "scripts/training/self_model.py"])
skills/asi/asi-core-integration/SKILL.md · 122 lines

How it starts

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

ASI Core Integration — Native Tools, Not External Scripts

Purpose

The ASI Core (tools/asi_core.py) wraps all 16 ASI capabilities as native agent tools with a unified lifecycle. Instead of calling python scripts/training/xxx.py as external processes, the model interacts through registered tools: asi_status, asi_think, asi_learn, asi_remember, asi_trigger.

Architecture

tools/asi_core.py          ← Main module: ASICore class + tool registrations
  └── tools/asi/            ← Subsystem subpackage (direct imports, no subprocess)
       ├── __init__.py      ← Imports all subsystems
       ├── self_model.py    ← Wraps scripts/training/self_model.py
       ├── world_model.py   ← Wraps scripts/training/world_model.py
       ├── reasoning.py     ← Wraps scripts/training/reasoning_loop.py
       ├── prediction.py    ← Wraps scripts/training/predict_validate.py
       ├── improvement.py   ← Wraps scripts/training/self_improve.py
       └── heartbeat.py     ← Central ASI Heartbeat (10 subsystems, 104 legacy jobs)

Layer 1: ASICore — Native Tools

Each capability now calls the training script's core functions directly via import, not subprocess. The script files still exist and work standalone (for cron/legacy), but the ASICore bypasses them:

# BEFORE (subprocess bridge — now obsolete):
import subprocess
subprocess.run([sys.executable, "scripts/training/self_model.py"])

# AFTER (direct import):
from tools.asi import self_model as asi_self_model
state = asi_self_model.gather_state()

Layer 2: ASI Heartbeat — Unified Lifecycle

Replaces 104 separate cron jobs with a single tools/asi/heartbeat.py module and one cron job (asi-heartbeat-tick every 5 min).

Heartbeat ─┬─ darwin    (every 15m) — Evolution, Grid, AutoPatch, Publish, Probe
           ├─ swarm     (every 30m) — Swarm Intelligence, Autonomous Loop
           ├─ a2a       (every 240m) — Brain Export, Peer Communication
           ├─ learning  (every 5m) — Internet Learner, Active Learn, KTA, etc.
           ├─ senses    (every 30m) — Circadian, Watchtower, Trend Scout
           ├─ system    (every 5m) — Self-Healer, Resource Monitor, Traffic Cop
           ├─ security  (every 240m) — Bugbot, CVE Scan, Pen Tester, Code Review
           ├─ outreach  (every 180m) — Social, GitHub, Growth Report, Funding
           ├─ infra     (every 30m) — Env Check, Browser, Plugin, Mesh, Cache
           └─ meta      (every 60m) — Reflection, Self-Rewriter, Goal, Research

Read the full file on GitHub · 122 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 122 lines · 17 tokens per session scan A e302052c10f6

Subscribe to this mod's changes

asi-core-integration is a skill published in the GitHub repository openamer/openamer (10 stars, last pushed today), licensed Apache-2.0. It adds 17 tokens to every session and 1,596 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-25.

Related

asi-core-integration compared with skills from other repositories

asi-core-integration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
asi-core-integrationopenamer/openamerSkill10todayApache-2.0A17Claude Code, Codex
memory-literary-analysisbasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A38Claude Code, Codex
bm-setupbasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A69Claude Code
memory-notesbasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A38Claude Code, Codex
memory-capturebasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A46Claude Code, Codex
memory-ingestbasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A35Claude Code, Codex
memory-onboardingbasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A42Claude Code, Codex