Replies: 3 comments
-
Clarification: Two Modes, Not Pure InversionAfter more thought, the goal isn't to purely invert Claude Code, but rather to have two distinct modes that users can switch between: Mode 1: Normal Claude Code (AI-First)
Mode 2: Enhanced Shell (Shell-First)
The Vim AnalogyThis is similar to Vim's modal editing:
Just as Vim users switch between modes based on their current task, users could switch between AI-first and shell-first modes based on their workflow needs. Open Questions
This dual-mode approach preserves the full power of Claude Code while adding a streamlined workflow for users who primarily work in the shell but occasionally need AI help with complex commands. |
Beta Was this translation helpful? Give feedback.
-
Next Steps: Proof of ConceptWe're exploring building a standalone proof-of-concept for this dual-mode shell concept. The working name is "aish" (AI-Assisted Interactive Shell). The initial design thinking is documented in Once we have something working, we'll:
Stay tuned! |
Beta Was this translation helpful? Give feedback.
-
Related Projects & Prior ArtSome existing CLI-based AI assistant approaches worth studying: Microsoft AIShellhttps://github.com/PowerShell/AIShell Microsoft's AI-powered shell assistant. Similar concept to what we're proposing, though tightly integrated with PowerShell. OpenAI Codex CLIhttps://github.com/openai/codex OpenAI's terminal-based coding agent. More similar to Claude Code (AI-first with shell escape) than our proposed shell-first approach. Claude CodeAnthropic's CLI - the tool we're extending. AI-first paradigm with Vision Clarification: AISH as a Real ShellThe goal for AISH isn't just an AI wrapper - it should be a real shell that people could feasibly use as:
Why not PowerShell?PowerShell is overkill for most tasks and has confusing syntax. Most of the time we just want to:
Design Principles
This positions AISH as a practical daily-driver shell, not just a demo or wrapper. See design doc: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Concept
Inverted Claude Code: A shell-first workflow where AI assistance is opt-in rather than the default.
Current Model (Claude Code)
!commandto bypass AI and run shell commands directlyProposed Model (Inverted)
~command #commentto invoke AI assistanceHow It Would Work
Trigger Syntax
Components:
~- AI assistance trigger (similar to existing!for shell escape)command --partial-params- What the user knows/has so far#comment- Natural language description of what help is neededExample Interactions
Example 1: Regex Help
AI Output:
Example 2: Complex Command Construction
AI Output:
Output Structure
/usr/local/binImplementation Options
1. Claude Code Feature Request
Would require Anthropic to add a "shell mode" toggle with new trigger character.
2. OpenAI Codex (Open Source)
More feasible since Codex is open source - could fork and implement.
3. Standalone DazzleML Tool
Wrapper around existing shells that intercepts
~trigger and queries AI API.Why This Matters
For users who already know the shell well, the current AI-first model can feel like overhead. This inverted approach:
Questions for Discussion
~a good trigger character, or would something else work better?Looking forward to hearing thoughts!
Beta Was this translation helpful? Give feedback.
All reactions