by adom
Registry-native cross-agent auto-update hook, claude-rc (the keeper for Claude Remote Control), and Claude's start-here: a managed block in ~/.claude/CLAUDE.md plus adom-context, a SessionStart printout of where the session runs, who is signed in and which machines are reachable. Keeps adom/core apps and skills current from wiki.adom.inc on every Claude Code and Codex prompt, and keeps `claude rc` alive so users can open AI threads on their container from the Claude mobile app or claude.ai/code.
← Commit history
Publish 1.4.3
6 files changed
+43−5
README.md+1@@ -62,6 +62,7 @@ adom-wiki install adom/hook | `ADOM_HOOK_INTERVAL=<seconds>` | check cadence (default `1800`) | | `ADOM_HOOK_FORCE=1` | force a check on the next prompt | | `ADOM_HOOK_DISABLE=1` | disable the hook |+| `ADOM_HOOK_NO_SKILL_BUDGET=1` | at install, don't set `skillListingBudgetFraction` (by default install sets it to `0.02` when absent, so more of the ~240 Adom skills show a description) | ## Uninstall
SKILL.md+4@@ -155,6 +155,10 @@ entry point (adom/codex's block in `~/.codex/AGENTS.md`); this is Claude's. always exits 0. `adom-context --json` gives the same as data. - **Opt out:** `touch ~/.adom/no-start-here`, then reinstall (or delete the block and the SessionStart entry yourself); later installs respect the file.+- **Skill listing budget (1.4.3):** install sets `skillListingBudgetFraction: 0.02` in+ `~/.claude/settings.json` when absent (never over a value the user or an org set;+ `ADOM_HOOK_NO_SKILL_BUDGET=1` skips). At the 1% default a fresh session showed+ descriptions for 48 of ~240 skills; at 2%, 122. - **Change the routing table** in `claude-start-here.md` and publish. Only name skills that ship in `adom/core` or `hydrogen-bootstrap`, so a fresh install has every one of them.
install.sh+23@@ -255,6 +255,29 @@ if not d.get("model"): PY fi +# Skill listing budget (adom/hook 1.4.3): an Adom workspace installs ~240 model-visible+# skills, and Claude Code's listing gives them 1% of the context window by default. Past+# that it shows bare names, so a fresh session saw descriptions for 48 skills; at 2% it+# sees 122 (measured 2026-10-22 on a 1M-context session). ONLY-IF-ABSENT, like the model+# default: a value the user or an org set is never overwritten.+# ADOM_HOOK_NO_SKILL_BUDGET=1 skips.+if [ -z "${ADOM_HOOK_NO_SKILL_BUDGET:-}" ]; then+ python3 - "${HOME}/.claude/settings.json" <<'PY'+import json, os, sys+path = sys.argv[1]+try:+ with open(path) as f: d = json.load(f)+ if not isinstance(d, dict): d = {}+except Exception:+ d = {}+if "skillListingBudgetFraction" not in d:+ d["skillListingBudgetFraction"] = 0.02+ os.makedirs(os.path.dirname(path), exist_ok=True)+ with open(path, "w") as f: json.dump(d, f, indent=2)+ print(" set skillListingBudgetFraction: 0.02 (2% of context for the skill listing; change it any time in ~/.claude/settings.json)")+PY+fi+ # Retire a gallia statusline if one is wired (gallia is gone; revert to default). # Targeted: only removed when the statusline command points at gallia. python3 - "${HOME}/.claude/settings.json" <<'PY'
package.json+2−2@@ -1,6 +1,6 @@ { "slug": "hook",- "version": "1.4.2",+ "version": "1.4.3", "type": "app", "org": "adom", "bundled": true,@@ -71,7 +71,7 @@ "mode": "0755" } ],- "changelog": "1.4.2: the skill's name now matches the folder it installs to (hook, was adom-hook) and its description is short enough to stay visible in a crowded skill listing. 1.4.1: stop installing the skill twice. 1.4.0: Claude start-here block in ~/.claude/CLAUDE.md plus the adom-context SessionStart printout.",+ "changelog": "1.4.3: install sets Claude Code's skillListingBudgetFraction to 0.02 when the user hasn't set one. An Adom workspace has ~240 skills, and at the default 1% a fresh session saw descriptions for 48 of them; at 2% it sees 122. A value you or your org set is never changed; ADOM_HOOK_NO_SKILL_BUDGET=1 skips it. 1.4.2: skill name matches its folder. 1.4.0: Claude start-here block plus adom-context.", "discovery_pitch": "Use when adom packages are behind or an update failed, and when the user asks about Claude Remote Control -- opening AI threads on this container from their phone or claude.ai/code.", "sample_prompts": [ {
page.json+3−3@@ -1,6 +1,6 @@ { "slug": "hook",- "version": "1.4.2",+ "version": "1.4.3", "type": "app", "org": "adom", "bundled": true,@@ -60,7 +60,7 @@ "name": "Kyle Bergstedt", "email": "[email protected]" },- "changelog": "1.4.2: the skill's name now matches the folder it installs to (hook, was adom-hook) and its description is short enough to stay visible in a crowded skill listing. 1.4.1: stop installing the skill twice. 1.4.0: Claude start-here block in ~/.claude/CLAUDE.md plus the adom-context SessionStart printout.",+ "changelog": "1.4.3: install sets Claude Code's skillListingBudgetFraction to 0.02 when the user hasn't set one. An Adom workspace has ~240 skills, and at the default 1% a fresh session saw descriptions for 48 of them; at 2% it sees 122. A value you or your org set is never changed; ADOM_HOOK_NO_SKILL_BUDGET=1 skips it. 1.4.2: skill name matches its folder. 1.4.0: Claude start-here block plus adom-context.", "discovery_pitch": "Use when adom packages are behind or an update failed, and when the user asks about Claude Remote Control -- opening AI threads on this container from their phone or claude.ai/code.", "sample_prompts": [ {@@ -94,4 +94,4 @@ } ], "tag": "latest"-}+}
tests/test_start_here.py+10@@ -89,6 +89,16 @@ class StartHereTest(unittest.TestCase): self.assertEqual(self.session_start_cmds(), []) self.assertFalse((self.home / ".local" / "bin" / "adom-context").exists()) + def test_skill_budget_set_only_if_absent(self):+ settings = self.home / ".claude" / "settings.json"+ self.run_script("install.sh")+ self.assertEqual(json.loads(settings.read_text())["skillListingBudgetFraction"], 0.02)+ d = json.loads(settings.read_text())+ d["skillListingBudgetFraction"] = 0.05+ settings.write_text(json.dumps(d))+ self.run_script("install.sh")+ self.assertEqual(json.loads(settings.read_text())["skillListingBudgetFraction"], 0.05)+ def test_context_hook_never_fails_without_tools(self): # No adom-wiki, adom-bridge or Hydrogen here: every probe reads as unknown. p = subprocess.run(["python3", str(PKG / "adom-context"), "--hook"],