ai4ai
Let AI manage itself — a cross-harness kit for runtime status, context renewal, self-duplication and more
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 21 Nov 2026.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/AI4XE/ai4ai with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/AI4XE/ai4ai'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/ai4xe--ai4ai)HTML
<a href="/listings/ai4xe--ai4ai"><img src="/api/listings/ai4xe--ai4ai/badge.svg" alt="findsafeskills safety rating" /></a>Install
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 48 lines
- 
- [English](README.md) | [中文](README.zh-CN.md)
- **AI4AI** — Let AI manage itself more easily.
- AI4AI is an extension kit for AI harnesses: it abstracts extension capabilities into a unified interface — the same tool calls work across harnesses, and skills stay portable.
- - **Know Itself** — understand its own runtime state, including but not limited to context usage, model, reasoning effort and window.
- - **Renew Itself** — renew itself on demand, refreshing the context, shedding the burden and traveling light.
- - **Duplicate Itself** — create its own copies, making task scheduling and coordination more flexible.
- ## Supported harnesses
- | Harness | Linux | macOS | Windows |
- |---|---|---|---|
- | Claude Code | ✅ | ✅ | WSL |
- | Codex | ✅ | ✅ | WSL |
- | OpenCode | ✅ | ✅ | WSL |
- | DeepSeek Harness | ✅ | ✅ | ✅ |
- On Windows, all harnesses except DeepSeek Harness run via WSL; details and limits are in the contract docs.
- ## Start
- Requires Node.js 22+.
- ```bash
- npx ai4ai init # recommended: no global install
- npm install -g ai4ai && ai4ai init # global install, command persists
- npm i -D ai4ai && npx ai4ai init --scope project # project-scope install
- ```
- `init` detects and registers local harnesses (idempotent); `--yes` skips the prompt.
- ```bash
- npx ai4ai status # show state
- npx ai4ai upgrade # re-register
- npx ai4ai uninstall # remove registrations
- ```
- Claude Code / OpenCode / DSH expose the tools after registration; Codex uses the CLI:
- ```bash
- npx ai4ai session --operation status --harness codex
- ```
- Contract and details: [docs/contract.md](docs/contract.md). MIT.
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.