Skip to content
Back to search

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.

Checked today

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
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/ai4xe--ai4ai/badge.svg)](/listings/ai4xe--ai4ai)

HTML

<a href="/listings/ai4xe--ai4ai"><img src="/api/listings/ai4xe--ai4ai/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

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
  1. ![AI4AI — Let AI Manage Itself](docs/banner.svg)
  2. [English](README.md) | [中文](README.zh-CN.md)
  3. **AI4AI** — Let AI manage itself more easily.
  4. 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.
  5. - **Know Itself** — understand its own runtime state, including but not limited to context usage, model, reasoning effort and window.
  6. - **Renew Itself** — renew itself on demand, refreshing the context, shedding the burden and traveling light.
  7. - **Duplicate Itself** — create its own copies, making task scheduling and coordination more flexible.
  8. ## Supported harnesses
  9. | Harness | Linux | macOS | Windows |
  10. |---|---|---|---|
  11. | Claude Code | ✅ | ✅ | WSL |
  12. | Codex | ✅ | ✅ | WSL |
  13. | OpenCode | ✅ | ✅ | WSL |
  14. | DeepSeek Harness | ✅ | ✅ | ✅ |
  15. On Windows, all harnesses except DeepSeek Harness run via WSL; details and limits are in the contract docs.
  16. ## Start
  17. Requires Node.js 22+.
  18. ```bash
  19. npx ai4ai init # recommended: no global install
  20. npm install -g ai4ai && ai4ai init # global install, command persists
  21. npm i -D ai4ai && npx ai4ai init --scope project # project-scope install
  22. ```
  23. `init` detects and registers local harnesses (idempotent); `--yes` skips the prompt.
  24. ```bash
  25. npx ai4ai status # show state
  26. npx ai4ai upgrade # re-register
  27. npx ai4ai uninstall # remove registrations
  28. ```
  29. Claude Code / OpenCode / DSH expose the tools after registration; Codex uses the CLI:
  30. ```bash
  31. npx ai4ai session --operation status --harness codex
  32. ```
  33. Contract and details: [docs/contract.md](docs/contract.md). MIT.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.