self-awareness

self-awareness is a skill for Claude Code, Codex from aipoch/open-science. It costs 70 tokens per session (3,268 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 agent-frame transcripts, check available capabilities, and safely use host APIs. Host calls must be made through the persistent JavaScript control environment.

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 · 5,355 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/github.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/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 self-awareness

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,268 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 220
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.00070 $0.03268
Opus 5.5 $0.00028 $0.01307
Sonnet 5.5 $0.00014 $0.00654
Haiku 4.5 $0.00007 $0.00327

Measured 22d ago against content hash e8c4e6b4ef00, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 22d 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 · 264 lines

How it starts

The opening of the file, as written. The whole thing — 264 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 · 264 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. 22d ago Changed · +41 lines e8c4e6b4ef00
  2. 1mo ago Changed · +1 tokens per session e0effa053412
  3. 1mo ago Changed · +1 lines 68907d4d42c3
  4. 1mo 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 (5,355 stars, last pushed today), licensed Apache-2.0. It adds 70 tokens to every session and 3,268 once invoked, about $0.0003 per session on Opus 5.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.

Related

Other skills, from other repositories

distill-concept-books

A workflow for turning books about concepts, theories, or analysis methods into reusable task instructions. It scans document images, links claims to evidence, and checks the result through human review.

xuzhougeng/wisp-science · 210 tokens

figure-style

Correctness and legibility checklist for publication figures, plus a matplotlib sidecar. Load before plotting anything and call applyfigurestyle() (role-mapped font ladder, outward ticks, frameless legends, 300-dpi saves, CJK-safe fonts). Covers data fidelity, label budgets, axis/colour/type rules, chart choice by…

xuzhougeng/wisp-science · 163 tokens

journal-club-ppt

Instructions for turning a scientific paper PDF into a journal-club presentation or literature report. They require reconstructing the paper's scientific logic before creating the slides.

xuzhougeng/wisp-science · 154 tokens

pixi-environment-builder

Use when creating, migrating, or debugging pixi environments, especially for scientific Python, bioinformatics, single-cell analysis, CUDA/PyTorch, Jupyter/VS Code kernels, conda-to-pixi migration, or conda + PyPI mixed dependency issues.

xuzhougeng/wisp-science · 59 tokens

remote-compute-ssh

Submit recoverable SSH-direct research Runs with live progress cards and model-free monitoring, including Slurm, PBS, LSF, and Grid Engine batch jobs from a cluster login node.

xuzhougeng/wisp-science · 42 tokens

word-zotero-citations

Build, audit, authorize, recover, or finalize dynamic Zotero citations and bibliographies in Microsoft Word DOCX files with a protected-source, digest-bound workflow. Use for Word–Zotero citation conversion, static OOXML citation audits, mocked/offline validation, Refresh authorization/report review, UI-evidence…

xuzhougeng/wisp-science · 90 tokens