diff --git a/docs/fish-config.1 b/docs/fish-config.1 index 70624ba..85a5333 100644 --- a/docs/fish-config.1 +++ b/docs/fish-config.1 @@ -1426,6 +1426,23 @@ file in the current directory, or opens an interactive fzf picker if no session file is found. \f[R] .fi +.SS claude +.IP +.nf +\f[C] +Synopsis: claude [args...] +Wrapper for the claude CLI. Before launching, checks the current +directory and the git project root for CLAUDE.md; when it is absent but +AGENTS.md is present, creates a relative symlink CLAUDE.md -> AGENTS.md +so Claude Code picks up shared agent instructions without duplicating +the file. All arguments are forwarded verbatim. Command shadow (C1): +when __fish_config_op_aliases (or the master) is disabled, the call is +passed through to the real claude binary unchanged. + +claude +claude --resume +\f[R] +.fi .SS claude-resume .IP .nf @@ -1868,7 +1885,8 @@ __fish_config_op_aliases Command shadows and flag injection: ping->prettyping, ssh->kitten, du->duf/dust, mkdir/bash wrappers, history timestamps, grep/cp/mv/wget - flag injection, help intercept + flag injection, help intercept, claude + AGENTS.md auto-link __fish_config_op_autoexec Startup side-effects: Fisher bootstrap, theme apply, paru/yay wrapper generation, auto venv @@ -1963,6 +1981,7 @@ wget forced --continue (resume downloads) system wget grep/fgrep/egrep forced --color=auto system grep variants dir / vdir forced --color=auto system dir / vdir help config intercepts \[dq]help config\[dq] → config-help fish builtin help +claude auto-links AGENTS.md as CLAUDE.md before launch command claude \f[R] .fi .PP diff --git a/docs/html/11-7-customization.html b/docs/html/11-7-customization.html index fb4f1a5..6266cbf 100644 --- a/docs/html/11-7-customization.html +++ b/docs/html/11-7-customization.html @@ -535,7 +535,8 @@ __fish_config_op_aliases Command shadows and flag injection: ping->prettyping, ssh->kitten, du->duf/dust, mkdir/bash wrappers, history timestamps, grep/cp/mv/wget - flag injection, help intercept + flag injection, help intercept, claude + AGENTS.md auto-link __fish_config_op_autoexec Startup side-effects: Fisher bootstrap, theme apply, paru/yay wrapper generation, auto venv @@ -615,7 +616,8 @@ cp / mv forced -i confirmation prompt cp / mv unmodified wget forced --continue (resume downloads) system wget grep/fgrep/egrep forced --color=auto system grep variants dir / vdir forced --color=auto system dir / vdir -help config intercepts "help config" → config-help fish builtin help +help config intercepts "help config" → config-help fish builtin help +claude auto-links AGENTS.md as CLAUDE.md before launch command claude
When C1 is disabled, rm uses bare
command rm with no wrapper — files are permanently deleted,
not trashed. There is no intermediate safety net.
Synopsis: claude [args...]
+Wrapper for the claude CLI. Before launching, checks the current
+directory and the git project root for CLAUDE.md; when it is absent but
+AGENTS.md is present, creates a relative symlink CLAUDE.md -> AGENTS.md
+so Claude Code picks up shared agent instructions without duplicating
+the file. All arguments are forwarded verbatim. Command shadow (C1):
+when __fish_config_op_aliases (or the master) is disabled, the call is
+passed through to the real claude binary unchanged.
+
+claude
+claude --resume
+Synopsis: claude-resume
Resumes the most recent Claude Code session from the .claude_session
file in the current directory, or opens an interactive fzf picker.
-Synopsis: claude-docs
Invokes Claude Code to analyze recent repository changes and update
README.md, ensuring all documented features and examples are accurate.
-Synopsis: claude-pr
Invokes Claude Code to run the full PR workflow: create branch,
conventional commit, verification, push, and open a PR with a manual
verification checklist.
-Synopsis: code-resume
Resumes the most recent AI session (Claude or Antigravity), preferring
the newest session file found in the current directory.
-Synopsis: superpowers [on|off] [-g]
Enables or disables the Superpowers plugin for Antigravity and Claude
Code at workspace/project scope (default) or user scope (-g/--global).
diff --git a/docs/html/index.html b/docs/html/index.html
index 5e64ffb..8d6cecb 100644
--- a/docs/html/index.html
+++ b/docs/html/index.html
@@ -742,6 +742,8 @@ id="toc-antigravity">antigravity
id="toc-antigravity-ide">antigravity-ide
antigravity-resume
+claude
claude-resume
AGENTS.md
+ so Claude Code picks up shared agent instructions without duplicating
+ the file. All arguments are forwarded verbatim. Command shadow (C1):
+ when __fish_config_op_aliases (or the master) is disabled, the call is
+ passed through to the real claude binary unchanged.
+
+ claude
+ claude --resume
+
### claude-resume
Synopsis: claude-resume
diff --git a/docs/wiki/7-customization.md b/docs/wiki/7-customization.md
index 3b46f35..d8ef29c 100644
--- a/docs/wiki/7-customization.md
+++ b/docs/wiki/7-customization.md
@@ -57,7 +57,8 @@ but a category with an explicit truthy value remains enabled regardless.
ping->prettyping, ssh->kitten,
du->duf/dust, mkdir/bash wrappers,
history timestamps, grep/cp/mv/wget
- flag injection, help intercept
+ flag injection, help intercept, claude
+ AGENTS.md auto-link
__fish_config_op_autoexec Startup side-effects: Fisher
bootstrap, theme apply, paru/yay
wrapper generation, auto venv
@@ -143,6 +144,7 @@ all of these commands.
grep/fgrep/egrep forced --color=auto system grep variants
dir / vdir forced --color=auto system dir / vdir
help config intercepts "help config" → config-help fish builtin help
+ claude auto-links AGENTS.md as CLAUDE.md before launch command claude
When C1 is disabled, `rm` uses bare `command rm` with no wrapper — files
are permanently deleted, not trashed. There is no intermediate safety net.