agentic-workflow
Practical AI agent workflows and productivity techniques. Provides optimized patterns for daily development tasks such as commands, shortcuts, Git integration, MCP usage, and session management.
Best use case
agentic-workflow is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Practical AI agent workflows and productivity techniques. Provides optimized patterns for daily development tasks such as commands, shortcuts, Git integration, MCP usage, and session management.
Teams using agentic-workflow should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/agentic-workflow/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How agentic-workflow Compares
| Feature / Agent | agentic-workflow | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Practical AI agent workflows and productivity techniques. Provides optimized patterns for daily development tasks such as commands, shortcuts, Git integration, MCP usage, and session management.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
Top AI Agents for Productivity
See the top AI agent skills for productivity, workflow automation, operational systems, documentation, and everyday task execution.
SKILL.md Source
# AI Agent Workflow (Workflow & Productivity)
## 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
| Command | Function | When to use |
|--------|------|----------|
| `/init` | Auto-generate a CLAUDE.md draft | Start a new project |
| `/usage` | Show token usage/reset time | Start of every session |
| `/clear` | Clear conversation history | When context is polluted; start a new task |
| `/context` | Context window X-Ray | When performance degrades |
| `/clone` | Clone the entire conversation | A/B experiments; backups |
| `/mcp` | Manage MCP servers | Enable/disable MCP |
| `!cmd` | Run immediately without Claude processing | Quick status checks |
### Gemini CLI commands
| Command | Function |
|--------|------|
| `gemini` | Start a conversation |
| `@file` | Add file context |
| `-m model` | Select model |
### Codex CLI commands
| Command | Function |
|--------|------|
| `codex` | Start a conversation |
| `codex run` | Run a command |
---
## 2. Keyboard shortcuts (Claude Code)
### Essential shortcuts
| Shortcut | Function | Importance |
|--------|------|--------|
| `Esc Esc` | Cancel the last task immediately | Highest |
| `Ctrl+R` | Search prompt history | High |
| `Shift+Tab` x2 | Toggle plan mode | High |
| `Tab` / `Enter` | Accept prompt suggestion | Medium |
| `Ctrl+B` | Send to background | Medium |
| `Ctrl+G` | Edit in external editor | Low |
### Editor editing shortcuts
| Shortcut | Function |
|--------|------|
| `Ctrl+A` | Move to start of line |
| `Ctrl+E` | Move to end of line |
| `Ctrl+W` | Delete previous word |
| `Ctrl+U` | Delete to start of line |
| `Ctrl+K` | Delete to end of line |
---
## 3. Session management
### Claude Code sessions
```bash
# 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
```bash
# ~/.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
```bash
# 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 server | Function | Use case |
|----------|------|------|
| Playwright | Control web browser | E2E tests |
| Supabase | Database queries | Direct DB access |
| Firecrawl | Web crawling | Data collection |
| Gemini-CLI | Large-scale analysis | 1M+ token analysis |
| Codex-CLI | Run commands | Build, deploy |
### MCP usage examples
```bash
# 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
```bash
# 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
```dockerfile
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
```bash
# 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
```bash
/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
```bash
# 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
```Related Skills
step-functions-workflow
Step Functions Workflow - Auto-activating skill for AWS Skills. Triggers on: step functions workflow, step functions workflow Part of the AWS Skills skill category.
sprint-workflow
Execute this skill should be used when the user asks about "how sprints work", "sprint phases", "iteration workflow", "convergent development", "sprint lifecycle", "when to use sprints", or wants to understand the sprint execution model and its convergent diffusion approach. Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.
n8n-workflow-generator
N8N Workflow Generator - Auto-activating skill for Business Automation. Triggers on: n8n workflow generator, n8n workflow generator Part of the Business Automation skill category.
jira-workflow-creator
Jira Workflow Creator - Auto-activating skill for Enterprise Workflows. Triggers on: jira workflow creator, jira workflow creator Part of the Enterprise Workflows skill category.
building-gitops-workflows
This skill enables Claude to construct GitOps workflows using ArgoCD and Flux. It is designed to generate production-ready configurations, implement best practices, and ensure a security-first approach for Kubernetes deployments. Use this skill when the user explicitly requests "GitOps workflow", "ArgoCD", "Flux", or asks for help with setting up a continuous delivery pipeline using GitOps principles. The skill will generate the necessary configuration files and setup code based on the user's specific requirements and infrastructure.
git-workflow-manager
Git Workflow Manager - Auto-activating skill for DevOps Basics. Triggers on: git workflow manager, git workflow manager Part of the DevOps Basics skill category.
fathom-core-workflow-b
Sync Fathom meeting data to CRM and build automated follow-up workflows. Use when integrating Fathom with Salesforce, HubSpot, or custom CRMs, or creating automated post-meeting email summaries. Trigger with phrases like "fathom crm sync", "fathom salesforce", "fathom follow-up", "fathom post-meeting workflow".
fathom-core-workflow-a
Build a meeting analytics pipeline with Fathom transcripts and summaries. Use when extracting insights from meetings, building CRM sync, or creating automated meeting follow-up workflows. Trigger with phrases like "fathom analytics", "fathom meeting pipeline", "fathom transcript analysis", "fathom action items sync".
exa-core-workflow-b
Execute Exa findSimilar, getContents, answer, and streaming answer workflows. Use when finding pages similar to a URL, retrieving content for known URLs, or getting AI-generated answers with citations. Trigger with phrases like "exa find similar", "exa get contents", "exa answer", "exa similarity search", "findSimilarAndContents".
exa-core-workflow-a
Execute Exa neural search with contents, date filters, and domain scoping. Use when building search features, implementing RAG context retrieval, or querying the web with semantic understanding. Trigger with phrases like "exa search", "exa neural search", "search with exa", "exa searchAndContents", "exa query".
evernote-core-workflow-b
Execute Evernote secondary workflow: Search and Retrieval. Use when implementing search features, finding notes, filtering content, or building search interfaces. Trigger with phrases like "search evernote", "find evernote notes", "evernote search", "query evernote".
evernote-core-workflow-a
Execute Evernote primary workflow: Note Creation and Management. Use when creating notes, organizing content, managing notebooks, or implementing note-taking features. Trigger with phrases like "create evernote note", "evernote note workflow", "manage evernote notes", "evernote content".