شعار SwissArmyHammer

SwissArmyHammer

مؤسسة
swissarmyhammer

Program all the things, just by writing markdown. Really.

الناشرswissarmyhammer
المستودعswissarmyhammer
اللغةRust
التفريعات
5
النجوم
15
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح SwissArmyHammer إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 15، والنسخ المتفرعة: 5 في المستودع المرتبط.

SwissArmyHammer

A multitool for agent-driven engineering.

Every tool, any order. It's a multitool, not a pipeline.

CI License Rust MCP


AI coding agents are powerful -- but without structure, they wander. They lose track of the plan. They skip tests. They write code that works but isn't reviewed. They forget what they were doing halfway through.

Other tools try to fix this by locking you into a rigid pipeline: discuss, then plan, then execute, then verify, then ship. In that order. Skip a step? Too bad.

Real work isn't a pipeline. Sometimes you implement three things, then review them all at once. Sometimes you write tests first. Sometimes you skip review on a quick fix and just ship it.

SwissArmyHammer gives you a kanban board and a set of sharp tools. You decide when to plan, implement, test, review, and commit. Every tool is always available. You pick the right one for the moment. No sprint ceremonies. No story points. No enterprise theater. Just tools for people who ship.

  ┌──────────┐
  │  /plan   │  Break work into kanban tasks
  └────┬─────┘
       │         ┌──────────────────────────┐
       ▼         │  Any tool, any time,     │
  ┌──────────┐   │  any order.              │
  │/implement│   │                          │
  └────┬─────┘   │  /test after /implement? │
       │         │  /review before /commit? │
       ▼         │  /implement three tasks  │
  ┌──────────┐   │  then /review them all?  │
  │  /test   │   │                          │
  └────┬─────┘   │  Your call.              │
       │         └──────────────────────────┘
       ▼
  ┌──────────┐     ┌──────────┐
  │ /review  │────▶│ /commit  │
  └──────────┘     └──────────┘

Works with Claude Code, Cursor, Windsurf, or any MCP-compatible agent.

Get Started in 30 Seconds

Get in your project directory and run:

bash
cd <your project directory>
brew install swissarmyhammer/tap/swissarmyhammer-cli
sah init

That's it. Your agent now has skills, tools, and workflows.

Then open your agent and ask for the tour:

> /sah-help

The agent lists every skill, tool, subagent, and validator that sah gives it, and tells you which one to use for what. Give it a topic to learn about one thing:

> /sah-help how do I plan
> /sah-help commit

Two Ways to Plan

The /plan skill is the front door to SwissArmyHammer. It works two ways:

Hand it a spec

Write your requirements in a markdown file and point the agent at it:

> /plan my-feature-spec.md

The agent reads your spec, explores the codebase to understand what exists, then creates a kanban board with ordered tasks, subtasks, acceptance criteria, and test requirements. Each task has enough context that the agent (or a teammate) can pick it up and implement it without re-reading the spec.

Your spec can be as simple or detailed as you want -- a few bullet points, a full PRD, or anything in between. The agent fills in the implementation details by reading your actual code.

Or just talk it through

You don't need a spec file. Start a conversation and plan interactively:

> I want to add OAuth2 support to the API

The agent enters planning mode, asks clarifying questions, explores your codebase, and builds the kanban board incrementally as you discuss. You can steer the plan in real time:

> Split that auth task into separate tasks for Google and GitHub providers
> Add a task for the token refresh flow -- we'll need that too
> Actually, let's do GitHub first and Google in a follow-up PR

The plan evolves through conversation. Tasks get added, split, merged, and reordered based on your feedback. When you're happy, say "go" and the agent starts implementing.

Then execute

Either way, once the plan is on the board:

> /implement                     # Do one kanban task at a time, with context-aware code editing and testing
> /finish                        # RalphLoop one task — or a whole tag/project — through implement → test → review → done. Go for a walk with your 🦮.
> /test                          # Run tests, report failures as tasks
> /test-loop                     # RalphLoop test→fix→test until green
> /review                        # Code review -- findings become new tasks
> /commit                        # Clean conventional commit

What You Get

The Problem With Other Approaches

Pipeline tools force a rigid sequence: discuss, plan, execute, verify, ship. Every task goes through the same ceremony, whether it's a three-month rewrite or a one-line fix. You can't skip steps, can't reorder them, can't adapt to how the work actually flows.

SwissArmyHammer is different. Every stage of the software development lifecycle is an independent tool. Use what you need, skip what you don't. The kanban board is the shared state -- not a sequential pipeline.

StageWhat happensCommand
HelpTour the skills, tools, subagents, and validators sah gives your agent/sah-help
PlanRead your spec, explore the codebase, create a kanban board with ordered tasks/plan
ImplementPick up tasks one-by-one, write code, run tests, mark complete/implement
TestRun the full suite, report failures as kanban tasks/test
CoverageFind untested code, create tasks for the gaps/coverage
ReviewStructured code review -- findings become kanban tasks/review
CommitStage changes, write a conventional commit message/commit
ExploreSemantic code search and symbol lookup across 25+ languages/code-context
DeduplicateFind near-duplicate code and refactor it/deduplicate
ShellExecute commands with persistent, searchable output history/shell
Double-checkVerify recent work before moving on/double-check
LSPDiagnose and install missing language servers/lsp

These tools connect into loops. /plan creates tasks. /implement works through them. /review finds issues and appends them as checklist items on the source task. /finish runs implement → test → review in a loop until each task lands in done. /coverage finds untested code and creates test tasks. It's a closed loop -- but you control the order.

Context Management

The biggest bottleneck for AI agents isn't intelligence -- it's context. Long test output blows the context window. The agent can't find the function it needs. It re-reads files it already scanned. SwissArmyHammer solves this at every level.

Smart Shell (not just bash -c)

The built-in shell isn't a thin wrapper around subprocess exec. It's a virtual shell with persistent history, process management, and searchable output:

  • Every command's output is stored and indexed -- even if the response was truncated to save tokens
  • Semantic search across all output -- ask "find the authentication error" and it matches "403 forbidden" and "login denied"
  • Regex grep across history -- error\[E\d+\] finds every Rust compiler error from every command you've run
  • Line-range retrieval -- output was truncated? Fetch lines 450-500 of command #3 without re-running it
  • Configurable output limits -- return 50 lines, 200, or zero (fire-and-forget). Full output is always saved for later

This means your agent can run cargo test with 10,000 lines of output, get a 50-line summary, and then surgically search for the failure -- without burning context tokens on scrollback.

Automatic Code Intelligence (tree-sitter + LSP)

SwissArmyHammer automatically indexes your codebase using tree-sitter and LSP. No configuration, no manual setup -- open a project and it starts parsing in the background.

  • Symbol lookup -- jump to any definition with fuzzy matching (MyStruct::new, process_req, partial names)
  • Call graph traversal -- who calls this function? What does it call? Trace execution flow across files
  • Blast radius analysis -- before you change validate_token, see every file and function transitively affected
  • Semantic diffs -- git diff shows line changes; sah shows entity-level changes (Added, Modified, Deleted, Moved, Renamed)
  • 25+ languages -- Rust, Python, TypeScript, Go, Java, C/C++, Ruby, Swift, Kotlin, and more

This is what lets /plan actually understand your codebase before creating tasks, and what lets /review catch real architectural issues instead of just style nits.

The Suite

SwissArmyHammer is three tools that work together:

sah -- Skills and Tools for Any Agent

The core. An MCP server that gives your agent everything it needs:

Tools -- the building blocks:

ToolWhat it does
FilesRead, write, edit, glob, grep -- with .gitignore support
GitBranch, commit, diff, status, PR workflows
ShellSafe command execution with security hardening
KanbanFile-backed task boards -- tasks, subtasks, dependencies, tags
Code SearchTree-sitter powered semantic search across 25+ languages
WebFetch pages and convert to markdown, search the web
QuestionsElicitation-based Q&A for capturing decisions

Skills -- the workflows that use those tools:

Skills are markdown files. They teach your agent how to do things, not just what to do. Each skill defines a step-by-step process, and a specialized agent type executes it. This is what turns a generic LLM into a focused engineer.

You can write your own skills too -- drop a SKILL.md in .sah/skills/my-skill/ and your agent picks it up automatically.

Architecture

Everything is markdown. Skills, validators, workflows, agents -- all markdown with YAML frontmatter and Liquid templating. No proprietary formats, no databases, no cloud lock-in. Everything lives in your repo or your home directory, fully version-controllable.

~/.sah/
  skills/           # Installed skills (markdown)
  validators/       # Installed validators (markdown)
  agents/           # Agent modes (markdown)
  workflows/        # State machine workflows (markdown + Mermaid)

Project-level overrides go in .sah/ in your repo. Project settings win over user settings.

The MCP server itself is a single Rust binary -- fast startup, no runtime dependencies, no Docker, no cloud services. It runs locally alongside your agent.

Why SwissArmyHammer?

For individual developers: Your agent becomes dramatically more capable. Instead of babysitting it through each step, you hand it a spec and walk away. It plans, implements, tests, reviews, and commits -- following the same engineering process you would.

For teams: Consistent engineering process across every developer's agent. The same skills, the same validators, the same quality gates. Install once via mirdan, and every team member's agent works the same way.

License

MIT OR Apache-2.0

استخدم MCP الخاص بـ SwissArmyHammer مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل SwissArmyHammer، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف SwissArmyHammer كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ SwissArmyHammer.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "swissarmyhammer": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ SwissArmyHammer، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ SwissArmyHammer.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام SwissArmyHammer لمساعدتي في هذه المهمة؟
SwissArmyHammer
بالتأكيد. قرأته.
إليك ما وجدته باستخدام SwissArmyHammer.

الأسئلة الشائعة

ما استخدامات خادم MCP SwissArmyHammer؟

SwissArmyHammer هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP SwissArmyHammer مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام SwissArmyHammer مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP SwissArmyHammer مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل SwissArmyHammer، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP SwissArmyHammer بـ TypingMind؟

يعمل SwissArmyHammer عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP SwissArmyHammer في TypingMind؟

يتيح SwissArmyHammer إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP SwissArmyHammer؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان SwissArmyHammer يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇