AI Agent Workflow (Workflow & Productivity)

SkillAI & models

Your AI can take on a larger task and finish it by splitting the work into steps and working through them on its own. agentic-workflow is a skill that gives your agent this pattern: it turns a job into a set of steps and then carries them out without needing a new prompt for each one.

Available today. Use it from your connected AI after setup.

Add the skill, then give your AI a task that takes more than one step. Let it break the work down and carry out the steps itself instead of guiding it move by move.

Then ask your AI: use the AI Agent Workflow (Workflow & Productivity) skill

What your AI can do with it

  • Break a big task into smaller steps
  • Work through each step on its own
  • Handle multi-step tasks without a prompt for every move
  • Carry a plan from start to finish

What this skill tells your AI

The instructions your AI receives, as published by parcadei/continuous-claude-v3 in .claude/skills/agentic-workflow/SKILL.md and read by ahel’s review.

When to use this skill

  • Optimize everyday AI agent work
  • Integrate Git/GitHub workflows
  • Use MCP servers
  • Manage and recover sessions
  • Apply productivity techniques

1. Key commands by agent

Claude Code commands

CommandFunctionWhen to use
/initAuto-generate a CLAUDE.md draftStart a new project
/usageShow token usage/reset timeStart of every session
/clearClear conversation historyWhen context is polluted; start a new task
/contextContext window X-RayWhen performance degrades
/cloneClone the entire conversationA/B experiments; backups
/mcpManage MCP serversEnable/disable MCP
!cmdRun immediately without Claude processingQuick status checks

Gemini CLI commands

CommandFunction
geminiStart a conversation
@fileAdd file context
-m modelSelect model

Codex CLI commands

CommandFunction
codexStart a conversation
codex runRun a command

2. Keyboard shortcuts (Claude Code)

Essential shortcuts

ShortcutFunctionImportance
Esc EscCancel the last task immediatelyHighest
Ctrl+RSearch prompt historyHigh
Shift+Tab x2Toggle plan modeHigh
Tab / EnterAccept prompt suggestionMedium
Ctrl+BSend to backgroundMedium
Ctrl+GEdit in external editorLow

Editor editing shortcuts

ShortcutFunction
Ctrl+AMove to start of line
Ctrl+EMove to end of line
Ctrl+WDelete previous word
Ctrl+UDelete to start of line
Ctrl+KDelete to end of line

3. Session management

Claude Code sessions

# Continue the last conversation
claude --continue

# Resume a specific session
claude --resume <session-name>

# Name the session during the conversation
/rename stripe-integration

Recommended aliases

# ~/.zshrc or ~/.bashrc
alias c='claude'
alias cc='claude --continue'
alias cr='claude --resume'
alias g='gemini'
alias cx='codex'

4. Git workflow

Auto-generate commit messages

"Analyze the changes, write an appropriate commit message, then commit"

Auto-generate draft PR

"Create a draft PR from the current branch's changes.
Make the title summarize the changes, and list the key changes in the body."

Use Git worktrees

# Work on multiple branches simultaneously
git worktree add ../myapp-feature-auth feature/auth
git worktree add ../myapp-hotfix hotfix/critical-bug

# Independent AI sessions per worktree
Tab 1: ~/myapp-feature-auth → new feature development
Tab 2: ~/myapp-hotfix → urgent bug fix
Tab 3: ~/myapp (main) → keep main branch

PR review workflow

1. "Run gh pr checkout 123 and summarize this PR's changes"
2. "Analyze changes in src/auth/middleware.ts. Check for security issues or performance problems"
3. "Is there a way to make this logic more efficient?"
4. "Apply the improvements you suggested and run tests"

5. Using MCP servers (Multi-Agent)

Key MCP servers

MCP serverFunctionUse case
PlaywrightControl web browserE2E tests
SupabaseDatabase queriesDirect DB access
FirecrawlWeb crawlingData collection
Gemini-CLILarge-scale analysis1M+ token analysis
Codex-CLIRun commandsBuild, deploy

MCP usage examples

# Gemini: large-scale analysis
> ask-gemini "@src/ Analyze the structure of the entire codebase"

# Codex: run commands
> shell "docker-compose up -d"
> shell "npm test && npm run build"

MCP optimization

# Disable unused MCP servers
/mcp

# Recommended numbers
# - MCP servers: fewer than 10
# - Active tools: fewer than 80

6. Multi-Agent workflow patterns

Orchestration pattern

[Claude] Plan → [Gemini] Analysis/research → [Claude] Write code → [Codex] Run/test → [Claude] Synthesize results

Practical example: API design + implementation + testing

1. [Claude] Design API spec using the skill
2. [Gemini] ask-gemini "@src/ Analyze existing API patterns" - large-scale codebase analysis
3. [Claude] Implement code based on the analysis
4. [Codex] shell "npm test && npm run build" - test and build
5. [Claude] Create final report

TDD workflow

"Work using TDD. First write a failing test,
then write code that makes the test pass."

# The AI:
# 1. Write a failing test
# 2. git commit -m "Add failing test for user auth"
# 3. Write minimal code to pass the test
# 4. Run tests → confirm they pass
# 5. git commit -m "Implement user auth to pass test"

7. Container workflow

Docker container setup

FROM ubuntu:22.04
RUN apt-get update && apt-get install -y \
    curl git tmux vim nodejs npm python3 python3-pip
RUN curl -fsSL https://claude.ai/install.sh | sh
WORKDIR /workspace
CMD ["/bin/bash"]

Safe experimentation environment

# Build and run the container
docker build -t ai-sandbox .
docker run -it --rm \
  -v $(pwd):/workspace \
  -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
  ai-sandbox

# Do experimental work inside the container

8. Troubleshooting

When context is overloaded

/context  # Check usage
/clear    # Reset context

# Or create HANDOFF.md and start a new session

Cancel a task

Esc Esc  # Cancel the last task immediately

When performance degrades

# Check MCP/tool counts
/mcp

# Disable unnecessary MCP servers
# Reset context

Quick Reference Card

=== Essential commands ===
/clear      reset context
/context    check usage
/usage      check tokens
/init       generate project description file
!command    run immediately

=== Shortcuts ===
Esc Esc     cancel task
Ctrl+R      search history
Shift+Tab×2 plan mode
Ctrl+B      background

=== CLI flags ===
--continue  continue conversation
--resume    resume session
-p "prompt" headless mode

=== Multi-Agent ===
Claude      plan/code generation
Gemini      large-scale analysis
Codex       run commands

=== Troubleshooting ===
Context overloaded → /clear
Cancel task → Esc Esc
Performance degradation → check /context

Signals

GitHub stars
4k
Forks
300
Last commit
Jan 2026
Advanced
Catalog kind
skill
Gateway key
agentic-workflow
Source
github.com/parcadei/continuous-claude-v3