self-awareness

self-awareness is a skill for Claude Code, Codex from aipoch/open-science. It costs 69 tokens per session (2,620 once invoked), scanned A, original, Apache-2.0.

A guide for inspecting the Open Science JavaScript control environment and its managed project resources. It explains how to discover files, sessions, agent records, capabilities, and available host functions.

In plain words
What is it for?
Use it to find project files or artifact versions, inspect sessions, read agent-frame transcripts, check available capabilities, and safely use host APIs. Host calls must be made through the persistent JavaScript control environment.
Why use it?
It helps an agent determine what the environment supports before calling host functions. This reduces failed calls and makes it safer to inspect project data and enable optional integrations.

Skill for Claude CodeCodex

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

Good fit Use it to find project files or artifact versions, inspect sessions, read…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aipoch/open-science/self-awareness
About the project

Open Science is a local-first, model-agnostic workbench for reproducible scientific research. Scientists use its AI agents, Python and R execution, data connectors, and traceable outputs for tasks such as literature review, analysis, simulation, and visualization across macOS, Windows, and Linux.

aipoch/open-science · 3,699 stars · on GitHub · aipoch.com

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 aipoch/open-science --skill self-awareness
Clone the repo
git clone --depth 1 https://github.com/aipoch/open-science

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 self-awareness

README.md
[![agentmods](https://agentmods.dev/badge/skills/aipoch/open-science/self-awareness.svg)](https://agentmods.dev/skills/aipoch/open-science/self-awareness)
Your own site
<a href="https://agentmods.dev/skills/aipoch/open-science/self-awareness"><img src="https://agentmods.dev/badge/skills/aipoch/open-science/self-awareness.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00069 $0.02620
Opus 5 $0.00034 $0.01310
Sonnet 5 $0.00014 $0.00524
Haiku 4.5 $0.00007 $0.00262

Measured 4d ago against content hash 68907d4d42c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

self-awareness 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.

resources/skills/self-awareness/SKILL.md · 223 lines

How it starts

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

Self-awareness

Use repl_execute for every host.* call. The host object exists only in the persistent JavaScript control REPL; Python and R data kernels do not receive it.

Inspect available capabilities

const caps = await host.capabilities()

The current project-native result contains 20 known boolean keys:

  • mcp gates connector calls through host.mcp(server, method, args?).
  • compute gates the host.compute namespace.
  • agents gates the host.agents namespace.
  • skills gates the host.skills namespace.
  • artifacts gates managed-file discovery through host.artifacts(options?) and exact path resolution through host.artifactPath(versionId).
  • lineage gates the read-only host.lineage namespace.
  • frames gates the read-only host.frames namespace.
  • sessions gates Main-only, read-only Session diagnostics through host.sessions.list(options?) and exact lookup through host.sessions.inspect(sessionId) in the current Project.
  • llm gates one-shot, tool-less inference through host.llm(request, options?).
  • currentModel gates exact current-model lookup through host.currentModel(). It returns the calling Session's exact current model id and fails when the live backend cannot establish one.
  • listModels gates configured Host LLM model discovery through host.listModels(). It returns the frozen, stable-sorted configured model ids for the current Host LLM Provider and framework. It never refreshes over the network or merges ids across Providers.
  • viewImage gates transient image attachment through host.viewImage(source, options?). Sources may be an Artifact or Upload Version in the current Project, or a path relative to the current execution workspace. For a generated file, pass the same relative path used to save it.
  • delegate, children, collect, stopChild, and resolveMessage are Main/root-only delegated work operations.
  • sendFrameMessage and messageReceipt are available to Main/root and Delegate agents when their trusted route is provisioned.
  • submitOutput is available only to an authenticated Delegate Attempt with an admitted output schema.

Read the full file on GitHub · 223 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 Changed · +1 lines 68907d4d42c3
  2. 7d ago First seen · 222 lines · 69 tokens per session scan A ce347c966cef

Subscribe to this mod's changes

self-awareness is a skill published in the GitHub repository aipoch/open-science (3,699 stars, last pushed today), licensed Apache-2.0. It adds 69 tokens to every session and 2,620 once invoked, about $0.0003 per session on Opus 5. 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-30.