Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "aiplus",
"source": "./adapters/claude",
"description": "Keeps every Claude session efficient: lead model plans and reviews, cheap subagents execute, minimal reads, one retry, routing to your installed plugins.",
"version": "0.5.0"
"version": "0.5.1"
}
]
}
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:
run: python .checker-tools/dev/aiaddon-review/scripts/scan_secrets.py . --history

release:
# Directory edition: adapters/claude without hooks, scripts, .mcp.json, contract.yaml, evals and prompt data.
# Directory edition: adapters/claude without hooks, scripts, .mcp.json, contract.yaml, evals and prompt data; the recipes
# in skills/aiplus/references/ replace the hooks and scripts.
name: Update the release branch
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [checks]
Expand Down Expand Up @@ -94,6 +95,9 @@ jobs:
f.write("\n")
for gone in ("hooks", "scripts", ".mcp.json"):
assert not os.path.exists(os.path.join(out, gone)), gone + " must not ship"
# Each dropped hook or script has a Markdown recipe that must ship (text, in the skill references).
for r in ("session-start", "prompt-nudge", "agent-notice", "screen-injection", "evidence-check", "plugin-scan"):
assert os.path.isfile(os.path.join(out, "skills", "aiplus", "references", r + ".md")), r + " recipe must ship"
print("built", out, "version", m["version"])
PY
- name: Validate the shipped tree for the directory (blocking)
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

Newest first.

## 0.5.1: 2026-11-13

**Added**
- Recipes for every hook and script, so the directory edition no longer loses their features: `skills/aiplus/references/session-start.md` (SessionStart reminder and Python check), `prompt-nudge.md` (long or multi-request prompt triggers), `agent-notice.md` (agent launch line), `screen-injection.md` (injection screen: pattern checklist and trusted-source list inline), `evidence-check.md` (Stop check: AI+ contract and the contract format and signals inline) and `plugin-scan.md` (installed plugin and skill table through Glob and Read, no shell paths).
- `tests/test_recipes.py`: recipes exist, are linked from the skill, carry the same thresholds, trusted prefixes and must-rule numbers as the scripts and `core/rules.yaml`.

**Changed**
- "Without hooks" and "Hooks" in the `aiplus` skill are now one section, "Hook steps": a table of when each step fires, what the hook does on `main`, the required step and its recipe. On `main` the hook does it automatically and the recipe is the fallback.
- Rules 2 and 14 say that without hooks the model writes the launch line and runs the evidence check itself.
- CI `release` job asserts that the six recipes are in the shipped tree.
- README: the directory edition's differences (judged injection screen, Composio not bundled) are stated; adapters README version fixed.
- Versions 0.5.1 everywhere.

## 0.5.0: 2026-11-13

**Added**
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Keeps every Claude session efficient: lead model plans and reviews, cheap subage

**Download:** [aiplus.plugin](https://github.com/syncwin/aiplus/releases/latest/download/aiplus.plugin) (always the latest release)

**Version** 0.5.0 - **Author** SyncWin - **License** MIT
**Version** 0.5.1 - **Author** SyncWin - **License** MIT

## Layout

Expand All @@ -24,7 +24,7 @@ Edit rules in `core/`, then run `python scripts/build_adapters.py` (`--check` ve
## Editions

- **Local (main):** the full plugin with hooks, scripts and the Composio connector, installed from this repo.
- **Directory (`release` branch):** built by CI (`.github/workflows/ci.yml`, job `release`) from `adapters/claude` without `hooks/`, `scripts/`, `.mcp.json`, `contract.yaml`, evals and prompt data, for the Anthropic plugin directory. The `aiplus` skill's "Without hooks" section covers what the hooks would have done.
- **Directory (`release` branch):** built by CI (`.github/workflows/ci.yml`, job `release`) from `adapters/claude` without `hooks/`, `scripts/`, `.mcp.json`, `contract.yaml`, evals and prompt data, for the Anthropic plugin directory. Every hook and script has a Markdown recipe in `adapters/claude/skills/aiplus/references/` (`session-start`, `prompt-nudge`, `agent-notice`, `screen-injection`, `evidence-check`, `plugin-scan`) and a required step in the `aiplus` skill ("Hook steps"), so the directory edition keeps the behaviour: Claude does by reading and checking what the hooks do automatically. Differences: the injection screen is a judged checklist instead of a scored model, and the optional Composio connector is not bundled (add it yourself under Customize > Connectors, address `https://connect.composio.dev/mcp`). The Python files stay in this repo as maintainer tooling and the local edition.

## Skills

Expand All @@ -50,7 +50,7 @@ A PostToolUse hook screens output from MCP tools (connectors such as Composio) w

## Requirements

- **Python 3.9 or newer** for the full set of features: the agent notice, prompt nudge, end-of-turn evidence check, connector injection screen and plugin scan are Python scripts. The rules, the session-start reminder and the skills work without it, so AI+ never breaks; those extras just switch off.
- **Python 3.9 or newer** for the local edition's hooks (the directory edition needs none; it follows the recipes): the agent notice, prompt nudge, end-of-turn evidence check, connector injection screen and plugin scan are Python scripts. The rules, the session-start reminder and the skills work without it, so AI+ never breaks; those extras just switch off.
- Install: Windows `winget install -e --id Python.Python.3.12` (or python.org, tick "Add to PATH"); macOS `brew install python`; Linux `sudo apt install python3`.
- You do not need to check yourself: when Python is missing, AI+ says so at session start and offers to install it (only after you confirm). On claude.ai chat it gives these steps or a prompt to paste into Claude Code.

Expand Down Expand Up @@ -100,6 +100,8 @@ Rule 11 (no overengineering) draws its generic ideas (build only what is asked,

## What it runs, reads, and sends

Local edition (this repo, `main`); the directory edition runs none of these and follows the recipes instead:

- `adapters/claude/scripts/scan.py`: reads `~/.claude/plugins/installed_plugins.json` and skill folders (local, read-only) and prints a table. No network.
- `adapters/claude/scripts/reminder.py` (SessionStart): prints `hooks/reminder.txt`.
- `adapters/claude/scripts/contract_check.py` (Stop): reads the session transcript and the `contract.yaml` files of installed plugins (local, read-only; never executed); once per session may block with the list of missing evidence; writes a small flag file in the OS temp folder.
Expand Down
2 changes: 1 addition & 1 deletion adapters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

| Adapter | Output | Status |
|---|---|---|
| `claude` | Claude plugin: skill, hooks, scripts | 0.2.0 |
| `claude` | Claude plugin: skill, hooks, scripts | 0.5.1 |
| `chatgpt` | custom instructions text, or a custom GPT | not started |
| `gemini` | Gem instructions or GEMINI.md | not started |

Expand Down
4 changes: 2 additions & 2 deletions adapters/claude/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aiplus",
"displayName": "AI+",
"version": "0.5.0",
"version": "0.5.1",
"description": "Keeps every Claude session efficient: lead model plans and reviews, cheap subagents execute, minimal reads, one retry, routing to your installed plugins.",
"license": "MIT",
"author": {
Expand All @@ -10,7 +10,7 @@
},
"metadata": {
"displayName": "AI+",
"version": "0.5.0",
"version": "0.5.1",
"author": "SyncWin",
"company": "SyncWin"
},
Expand Down
13 changes: 13 additions & 0 deletions adapters/claude/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

Newest first.

## 0.5.1: 2026-11-13

**Added**
- Recipes for every hook and script, so the directory edition no longer loses their features: `skills/aiplus/references/session-start.md` (SessionStart reminder and Python check), `prompt-nudge.md` (long or multi-request prompt triggers), `agent-notice.md` (agent launch line), `screen-injection.md` (injection screen: pattern checklist and trusted-source list inline), `evidence-check.md` (Stop check: AI+ contract and the contract format and signals inline) and `plugin-scan.md` (installed plugin and skill table through Glob and Read, no shell paths).
- `tests/test_recipes.py`: recipes exist, are linked from the skill, carry the same thresholds, trusted prefixes and must-rule numbers as the scripts and `core/rules.yaml`.

**Changed**
- "Without hooks" and "Hooks" in the `aiplus` skill are now one section, "Hook steps": a table of when each step fires, what the hook does on `main`, the required step and its recipe. On `main` the hook does it automatically and the recipe is the fallback.
- Rules 2 and 14 say that without hooks the model writes the launch line and runs the evidence check itself.
- CI `release` job asserts that the six recipes are in the shipped tree.
- README: the directory edition's differences (judged injection screen, Composio not bundled) are stated; adapters README version fixed.
- Versions 0.5.1 everywhere.

## 0.5.0: 2026-11-13

**Added**
Expand Down
Loading