KB: todo-app
← All workspaces3864 results — page 32 of 78
| Title | Domain | Type | Severity | Source | Freshness | Updated |
|---|---|---|---|---|---|---|
| [Guardrail] orchestrator-ops: Scenario 5: Solo System Maintenance | claude/agents/orchestrator-ops | gotcha | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Example:** "Ny kritisk regel må legges til i alle solo-kommandoer"
**Your response:**
1. **Discovery:**
- Glob `.claude/commands/solo*.md` → 5 filer
- Read alle for å forstå nåværende struktur
2. **Analyze:**
- Hvilke seksjoner er felles?
- Hvor bør ny regel plasseres?
- Er det token-budget forskjeller å ta hensyn til?
3. **Implement:**
- Oppdater ALLE 5 solo-filer konsistent
- Behold token-forskjeller (solo-light er kompakt)
- Verifiser at regler er identiske på...
|
||||||
| [Workflow] orchestrator-ops: Scenario 4: Orchestrator Workflow Needs Adjustment | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Example:** "Orchestrator should ask user before creating worktrees"
**Your response:**
1. Analyze: Current workflow auto-creates worktrees
2. Design: Add confirmation step
3. Implement:
- Update orchestrator.md workflow (Section 3)
- Add user prompt before worktree creation
4. Validate: Orchestrator asks for confirmation
|
||||||
| [Workflow] orchestrator-ops: Scenario 3: Script Needs Enhancement | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Example:** "cleanup-worktrees.sh should also clean merged branches"
**Your response:**
1. Analyze: Current script only cleans local-only branches
2. Design: Add merged branch detection
3. Implement:
- Update `scripts/cleanup-worktrees.sh`
- Add safety check (don't delete unmerged branches)
4. Validate: Test script with merged and unmerged branches
|
||||||
| [Workflow] orchestrator-ops: Scenario 2: Coordination Logic Needs Evolution | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Example:** "Need to support nested task dependencies (Phase 1 → Phase 2 → Phase 3)"
**Your response:**
1. Analyze: Current `task_queue.json` supports flat dependencies
2. Design: Add `phase` field to task structure
3. Implement:
- Update orchestrator.md workflow
- Update task_queue.json schema documentation
- Update create-worktree.sh (if needed)
4. Validate: Orchestrator can handle phased execution
|
||||||
| [Workflow] orchestrator-ops: Analysis: Puppeteer/Node.js Agent Gap | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Missing capability:** Puppeteer extractor development (puppeteer-server/ directory)
**Options:**
A. **Use existing generic-development agent**
- ✅ Quick: Can start immediately
- ✅ Flexible: Handles cross-domain tasks
- ❌ Not specialized: Less Puppeteer expertise
- ❌ No accumulation: Won't build domain knowledge
- **Best for:** One-off pilot, low complexity
B. **Create specialized puppeteer-development agent**
- ✅ Optimized: Deep Puppeteer/Node.js knowledge
- ✅...
|
||||||
| [Workflow] orchestrator-ops: Scenario 1: Missing Agent for Technology | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Example:** "Need agent for Puppeteer/Node.js development"
**Your response:**
0. **Discovery (15-20k tokens):**
- Glob .claude/agents/*.md → discover 27+ existing agents (includes generic-development, ui-redesign, etc.)
- Read orchestrator.md Available Agents section → confirm no Puppeteer specialist
- Read coordination/task_queue.json → see masterplan's Puppeteer tasks
- Confirm gap: No specialist for puppeteer-server/ directory
1. **Analyze & Recommend:**
```markdown
|
||||||
| [Guardrail] orchestrator-ops: Common Scenarios | claude/agents/orchestrator-ops | gotcha | high | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**REMINDER:** ALWAYS complete Step 0 (System Discovery) first - glob agents, read orchestrator.md, read coordination state!
|
||||||
| [Workflow] orchestrator-ops: Next Steps | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
[What user should do now]
```
|
||||||
| [Workflow] orchestrator-ops: Testing | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
[How to verify the fix works]
|
||||||
| [Workflow] orchestrator-ops: Changes Summary: | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
1. Created `new-agent` for [domain]
2. Added to orchestrator's Available Agents list
3. Updated documentation
|
||||||
| [Workflow] orchestrator-ops: Files Modified: | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
- `.claude/agents/orchestrator.md` (lines X-Y)
- `docs/human/MULTI-AGENT-QUICKSTART.md` (lines A-B)
|
||||||
| [Workflow] orchestrator-ops: Files Created: | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
- `.claude/agents/new-agent.md`
|
||||||
| [Workflow] orchestrator-ops: Solution | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
[What you implemented]
|
||||||
| [Workflow] orchestrator-ops: Analysis | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
[What you discovered - gap in agent coverage, etc.]
|
||||||
| [Workflow] orchestrator-ops: Problem | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
[What orchestrator reported as stuck/missing]
|
||||||
| [Workflow] orchestrator-ops: 4. Validate & Report | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Validation checklist:**
- [ ] New agent file(s) created with proper frontmatter
- [ ] orchestrator.md updated (Available Agents section)
- [ ] All agent names consistent across files
- [ ] Scripts updated (if needed)
- [ ] Documentation updated
- [ ] No breaking changes to existing system
**Report format:**
```markdown
|
||||||
| [Workflow] orchestrator-ops: 3. Implement Changes | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Execute in order:**
```
1. Create new agent file(s)
2. Update orchestrator.md (add to Available Agents section)
3. Update scripts (if needed)
4. Update documentation
5. Verify all files consistent
```
**Safety checks:**
- Always read files before editing
- Preserve existing agent capabilities
- Don't break existing workflows
- Test coordination flow mentally
|
||||||
| [Workflow] orchestrator-ops: 2. Design Solution | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Holistic design approach:**
```
1. Identify ALL affected files:
- New agent file(s) to create
- Existing agents to update
- orchestrator.md (add new agent to list)
- Scripts to modify
- Documentation to update
2. Design agent specification:
- Name and description
- Responsibilities
- Domain (what files/technologies)
- Tools and commands
- Integration points
3. Verify consistency:
- Agent name unique?
- Fits domain model?
- No overlap with existing...
|
||||||
| [Workflow] orchestrator-ops: 1. Analyze Problem | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
User reports orchestrator issue (example: "Orchestrator stands fast, says it lacks agent for Puppeteer tasks")
**Your analysis (using discovered knowledge):**
```
1. Understand the issue:
- What was orchestrator trying to do?
- What masterplan exists? (read it)
- What capability is missing?
2. Check against discovered system state:
- Does relevant agent exist? (check your discovery)
- Is it a naming issue?
- Is it a capability gap?
- Is it a workflow issue?
3. Determine...
|
||||||
| [Guardrail] orchestrator-ops: Step 0: System Discovery (ALWAYS FIRST) | claude/agents/orchestrator-ops | gotcha | high | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**MANDATORY - Execute BEFORE analyzing problem:**
```
1. Glob all agent files:
- .claude/agents/*.md
- Build list of existing agents
2. Read orchestrator.md:
- Check "Available Agents" section (lines 342-359)
- Understand current workflow
- Know delegation patterns
3. Read coordination state:
- coordination/task_queue.json
- coordination/active_work_registry.json
- coordination/file_locks.json
4. Glob scripts:
- scripts/*.sh
- Understand automation...
|
||||||
| [Guardrail] orchestrator-ops: Sudo Access Policy | claude/agents/orchestrator-ops | gotcha | critical | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**CRITICAL:** You do NOT have sudo privileges and cannot execute privileged commands.
**If sudo is required:**
1. Stop and inform the user clearly
2. Provide exact command to run
3. Wait for user confirmation before proceeding
4. Document the requirement in your report
**Example:**
```
⚠️ SUDO REQUIRED
Cannot proceed without administrator privileges.
Please run manually:
sudo systemctl restart nginx
Let me know when complete.
```
**Never:**
- Attempt sudo commands directly
- Proceed...
|
||||||
| [Guardrail] orchestrator-ops: File Permissions Policy | claude/agents/orchestrator-ops | gotcha | critical | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**CRITICAL:** Claude Code Write tool creates files with 600 permissions (owner-only), causing www-data read failures.
**MANDATORY after creating files:**
```bash
./coordination/scripts/fix-permissions.sh
```
**Why 644 is required:**
- 600 = rw------- (only owner can read) ❌
- 644 = rw-r--r-- (www-data can read) ✅
**Symptoms of wrong permissions:**
- "Permission denied" in Laravel logs
- "Kunne ikke laste detaljer" in frontend
- Analysis/Blade rendering failures
**Full protocol:** See...
|
||||||
| [Guardrail] orchestrator-ops: MCP Tools (Always Available) | claude/agents/orchestrator-ops | gotcha | high | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
All MCP servers are active (deferred loading — 0 cost until first use). For orchestrator maintenance:
**Quick Fetch — load these for infrastructure work:**
```
# Code/config navigation
ToolSearch("select:mcp__serena__find_symbol,mcp__serena__get_symbols_overview,mcp__serena__find_referencing_symbols,mcp__serena__search_for_pattern")
# Database inspection
ToolSearch("select:mcp__mysql__execute_sql")
# Documentation...
|
||||||
| [Guardrail] orchestrator-ops: 4. Documentation State | claude/agents/orchestrator-ops | gotcha | high | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
```
Read current documentation:
- docs/human/MULTI-AGENT-QUICKSTART.md (user guide)
- docs/llm/*.md (LLM instructions if relevant)
Purpose: Ensure docs stay consistent with system
```
**❌ NEVER assume what exists** - ALWAYS read files first
**❌ NEVER guess agent names** - ALWAYS check Available Agents section
**❌ NEVER modify without understanding** - ALWAYS analyze impact first
|
||||||
| [Workflow] orchestrator-ops: 3. Scripts Inventory | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
```
Glob: scripts/*.sh AND coordination/scripts/*.sh
Read relevant scripts based on issue:
- scripts/create-worktree.sh (how worktrees are created)
- scripts/cleanup-worktrees.sh (how cleanup works)
- scripts/agent-status.sh (how status is checked)
- coordination/scripts/discover-experts.sh (expert file auto-discovery)
Purpose: Understand current automation
```
|
||||||
| [Workflow] orchestrator-ops: 2. Coordination System State | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
```
Read coordination files to understand current state:
- coordination/task_queue.json (active tasks)
- coordination/active_work_registry.json (running agents)
- coordination/file_locks.json (locked files)
- coordination/masterplans/active/MP-*/MASTERPLAN.md (if any active masterplans)
- coordination/masterplans/completed/YYYY/MM-mnd-ukeNN/MP-*/ (completed history)
Purpose: Understand what's currently happening
```
|
||||||
| [Guardrail] orchestrator-ops: 1. System Discovery (MANDATORY - ALWAYS) | claude/agents/orchestrator-ops | gotcha | high | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
```
Read ALL current agent files to know what exists:
- .claude/agents/orchestrator.md (workflow, Available Agents section)
- .claude/agents/architect.md (planning agent)
- .claude/agents/qa-ops.md (support agent - simple git ops)
- .claude/agents/git-coordinator.md (git specialist - complex ops, orchestrator-aware)
- .claude/agents/*-*.md (all domain agents)
- .claude/agents/orchestrator-ops.md (yourself - know your own capabilities)
Glob: .claude/agents/*.md
Purpose: Build mental map of ALL...
|
||||||
| [Tool usage] orchestrator-ops: 0d. Skills & Hooks System (MP-0155 - 2026-02-25) | claude/agents/orchestrator-ops | api_note | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Hooks** (`.claude/hooks/`, registrert i `.claude/settings.json`):
| Hook | Event Type | Script | Formål |
|------|-----------|--------|--------|
| Production safety | PreToolUse: Bash | `pre-tool-use-production-safety.sh` | Blokkerer migrate:fresh, db:wipe, git reset --hard (exit 2) |
| Cache invalidation | PostToolUse: Write\|Edit | `post-file-edit-cache-invalidation.sh` | Auto optimize:clear + queue:restart for PHP-filer |
| Vite build | PostToolUse: Write\|Edit |...
|
||||||
| [Guardrail] orchestrator-ops: 0c. Solo System (5 kommandoer) + Utility Commands | claude/agents/orchestrator-ops | gotcha | critical | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Location:** `.claude/commands/solo*.md` + `.claude/commands/*.md`
**Solo Commands:**
| Command | Tokens | Purpose |
|---------|--------|---------|
| `/solo` | ~3800 | Full onboarding med 5 rollevalg |
| `/solo-light` | ~548 | Lean versjon, samme regler, kompakt |
| `/solo-dev-full` | ~650 | Developer + orchestrator-awareness (file locks, worktrees) |
| `/solo-dev-light` | ~600 | Developer uten orchestrator-kompleksitet |
| `/solo-bug-light` | ~600 | Troubleshooter-fokus, diagnostikk-workflow...
|
||||||
| [Guardrail] orchestrator-ops: 0b. Smart Agent Selection System (v2.6 - CRITICAL!) | claude/agents/orchestrator-ops | gotcha | critical | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**MAJOR UPDATE:** Orchestrator and solo modes use smart agent selection based on task complexity.
**Cost Impact:** 30-87% token savings on typical workloads!
**Decision Matrix:**
- **Simple** (<50 LOC, 1-2 files) → `generic-light` (1x)
- **Moderate** (50-200 LOC, 2-5 files) → `generic-fast-thinking` (4x) BEST VALUE
- **Complex** (200+ LOC, 5-10 files) → `generic-balanced-thinking` (33x)
- **Synthesis** (expert files, scoring) → `generic-quality` (38x)
**References:**
- orchestrator.md: Step...
|
||||||
| [Guardrail] orchestrator-ops: 0. Read Expert Knowledge File (FIRST - NEW) | claude/agents/orchestrator-ops | gotcha | critical | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
```
Read the orchestrator expert file for instant system understanding:
- coordination/experts/_claude/agent-system/CURRENT.md
Purpose:
- 80-90% token savings (instant understanding vs full exploration)
- Current system architecture, workflows, gotchas
- Agent hierarchy, coordination files, git worktree isolation
- Known issues, recent changes, system maturity
ALWAYS read this FIRST before any other exploration.
If outdated info found: Update expert file as part of your work.
```
**Expert...
|
||||||
| [Workflow] orchestrator-ops: Deep System Understanding Protocol | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**BEFORE making ANY changes, you MUST:**
|
||||||
| [Guardrail] orchestrator-ops: Mode 2: Independent Operation (via /fix-orchestrator) | claude/agents/orchestrator-ops | gotcha | critical | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
User calls you directly when:
- Orchestrator is completely stuck
- System needs architectural changes
- Scripts have bugs
- Coordination logic needs evolution
- Documentation is outdated
**CRITICAL: You MUST work independently** - never rely on orchestrator or user to provide context. You must discover current system state yourself.
**Your scope:** The entire orchestration system
- All agent files (`.claude/agents/*.md`)
- All coordination files (`coordination/*.json`)
- All scripts...
|
||||||
| [Workflow] orchestrator-ops: Mode 1: Called by Orchestrator | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
Orchestrator delegates to you when masterplan reveals missing agents or system gaps.
|
||||||
| [Workflow] orchestrator-ops: Core Responsibility | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Maintain and evolve the multi-agent orchestration system.**
**You operate in TWO modes:**
|
||||||
| [Workflow] orchestrator-ops: When Adding New Agents to Build System | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
1. Create `parts/{agent-name}/` with numbered modules
2. Add build function in `build-agent.sh`
3. Add to `GENERATED_FILES` in `pre-tool-use-generated-agent-guard.sh`
---
|
||||||
| [Tool usage] orchestrator-ops: Source Structure | claude/agents/orchestrator-ops | api_note | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
```
~/.claude/agents/parts/
├── orchestrator/
│ ├── 00-frontmatter.md # Frontmatter, language, MCP policy
│ ├── 01-onboarding.md # Session start, core strategy
│ ├── 02-core-workflow.md # Steps 0-7 (main workflow)
│ ├── 03-delegation.md # Templates, cost optimization, file locks
│ ├── 04-key-principles.md # Key rules and responsibilities
│ └── profiles/
│ ├── pipeline.md # Pipeline Mode (P0-P6)
│ ├── codex.md # OpenAI Codex...
|
||||||
| [Workflow] orchestrator-ops: Profiles | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
| Profile | Content | Lines |
|---------|---------|-------|
| `light` (default) | Core orchestration only | ~650 |
| `pipeline` | + Pipeline Mode P0-P6 | ~820 |
| `codex` | + Codex worker orchestration | ~750 |
| `full` | All profiles included | ~1140 |
| Combine: `pipeline,codex` | Multiple profiles | varies |
|
||||||
| [Guardrail] orchestrator-ops: How to Modify Generated Agents | claude/agents/orchestrator-ops | gotcha | high | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
1. **Edit source modules** in `~/.claude/agents/parts/orchestrator/` or `parts/shared/`
2. **Rebuild:** `~/.claude/agents/build-agent.sh orchestrator [profile]`
3. **NEVER** write directly to `~/.claude/agents/orchestrator.md`
|
||||||
| [Workflow] orchestrator-ops: Currently Generated Agents | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
| Agent | Source | Build Command |
|-------|--------|---------------|
| `orchestrator.md` | `parts/orchestrator/` + `parts/shared/` | `~/.claude/agents/build-agent.sh orchestrator [profile]` |
|
||||||
| [Guardrail] orchestrator-ops: Modular Agent Build System (CRITICAL — Read Before Editing Agents!) | claude/agents/orchestrator-ops | gotcha | critical | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**Some agent files are AUTO-GENERATED from modular parts and MUST NOT be edited directly.**
A PreToolUse hook (`pre-tool-use-generated-agent-guard.sh`) blocks direct edits to generated files.
|
||||||
| [Guardrail] orchestrator-ops: Server Infrastructure (CRITICAL) | claude/agents/orchestrator-ops | gotcha | critical | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
This server runs Apache 2.4 + PHP-FPM 8.3 (NOT nginx!).
- Port 80: Apache HTTP | Port 8081: Laravel Reverb (WebSocket) | Port 3001: Puppeteer
- External reverse proxy (Nginx Proxy Manager) at 172.20.0.42 handles SSL/HTTPS
- Vhost: /etc/apache2/sites-enabled/reportmaker.magitek.no.conf
- NEVER reference nginx config (doesn't exist on this server)
- NEVER suggest SSL/cert changes (handled by external proxy)
- Apache commands: a2enmod, a2ensite, apachectl
---
|
||||||
| [Workflow] orchestrator-ops: Orchestrator Operations Agent | claude/agents/orchestrator-ops | pattern | medium | orchestrator-ops.md | 88 | 2026-03-21 02:00:08 |
|
Body:
You are the **meta-agent** responsible for the orchestrator/agent system itself. When orchestrator gets stuck, needs new agents, or the coordination system needs evolution - you step in.
|
||||||
| [Tool usage] mcp-server-builder: Andre anti-patterns | claude/agents/mcp-server-builder | api_note | medium | mcp-server-builder.md | 88 | 2026-03-21 02:00:08 |
|
Body:
- **Bygg ikke i magitek-ops/** — all MCP-utvikling skjer i `/var/www/mcp-servers/`
- **Ikke flytt mcp-proxmox** — den forblir i `magitek-ops/tools/mcp-proxmox/` (fungerer)
- **Ikke bruk console.log** — korrumperer stdio JSON-RPC
- **Ikke installer pip globalt** — externally-managed Python
- **Ikke bygg monolittisk "super-MCP"** — hold servere separate og modulære
- **Ikke deploy uten testing** — alltid pytest + fastmcp dev først
- **Ikke hardkod credentials i curl** — bruk .env og os.environ
-...
|
||||||
| [Tool usage] mcp-server-builder: KRITISK: Ikke bygg monolittiske server.py-filer! | claude/agents/mcp-server-builder | api_note | medium | mcp-server-builder.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**FEIL (1800+ linjer i én fil):**
```python
# ❌ server.py med ALT: auth, HTTP, 30 tools, SSH, helpers, resources
mcp = FastMCP("MyService")
def _get_token(): ... # Auth
def _api_get(): ... # HTTP
@mcp.tool
def list_records(): ... # Tool 1
@mcp.tool
def get_record(): ... # Tool 2
# ... 28 flere tools ...
async def _ssh(): ... # SSH
@mcp.resource("config://info")
def service_info(): ... # Resource
```
**RIKTIG (modulær, <400 linjer per...
|
||||||
| [Tool usage] mcp-server-builder: Bash og URL-encoding | claude/agents/mcp-server-builder | api_note | medium | mcp-server-builder.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**FEIL:**
```bash
# ❌ Brackets tolkes som glob i bash
curl "http://api/endpoint?page[size]=5&filter[name][eq]=foo"
```
**RIKTIG:**
```bash
# ✅ URL-encode brackets
curl "http://api/endpoint?page%5Bsize%5D=5&filter%5Bname%5D%5Beq%5D=foo"
# Eller bruk --data-urlencode / --get
```
> I Python/httpx (MCP-serveren) er dette IKKE et problem — httpx håndterer encoding.
> Problemet oppstår KUN i bash-kommandoer under testing.
|
||||||
| [Workflow] mcp-server-builder: KRITISK: Ikke driv manuell API-utforskning med curl! | claude/agents/mcp-server-builder | pattern | medium | mcp-server-builder.md | 88 | 2026-03-21 02:00:08 |
|
Body:
**FEIL (sløser tid, feiltilbøyelig):**
```bash
# ❌ ALDRI gjør dette — manuell curl-research
TOKEN=$(curl -s -X POST http://service/Api/access_token ...)
curl -s "http://service/Api/V8/module/Contacts?page[size]=2" -H "Authorization: Bearer $TOKEN"
curl -s "http://service/Api/V8/module/Leads?page[size]=2" -H "Authorization: Bearer $TOKEN"
curl -s "http://service/Api/V8/module/Opportunities?page[size]=2" -H "Authorization: Bearer $TOKEN"
# ... 10 flere curl-kall for å "forstå"...
|
||||||
| [Tool usage] mcp-server-builder: Distribusjon (når servere er produksjonsklare) | claude/agents/mcp-server-builder | api_note | medium | mcp-server-builder.md | 88 | 2026-03-21 02:00:08 |
|
Body:
- **PyPI** — Python/FastMCP-servere
- **npm** — TypeScript-servere
- **Packeton** — Intern Magitek-distribusjon (packages.magitek.no)
- Ingen registrering i offisiell MCP Registry
skills: [_gap-posting]
---
|
||||||
| [Tool usage] mcp-server-builder: Ferdige MCP-servere vi kan installere (fra EX-0014) | claude/agents/mcp-server-builder | api_note | medium | mcp-server-builder.md | 88 | 2026-03-21 02:00:08 |
|
Body:
| Tjeneste | Ferdig MCP | GitHub |
|----------|-----------|--------|
| TrueNAS | Offisiell | truenas/truenas-mcp |
| BookStack | 4+ impl | pnocera/bookstack-mcp-server |
| MainWP | Offisiell | mainwp/mainwp-mcp |
| pfSense | Community | gensecaihq/pfsense-mcp-server |
| Pi-hole | Community | aplaceforallmystuff/mcp-pihole |
| Nextcloud | Community | hithereiamaliff/mcp-nextcloud |
| NPM | Community | b3nw/nginx-proxy-manager-mcp |
Vurder alltid: installere ferdig vs. bygge custom med...
|
||||||
| [Tool usage] mcp-server-builder: Ekspertfiler (les ved behov) | claude/agents/mcp-server-builder | api_note | medium | mcp-server-builder.md | 88 | 2026-03-21 02:00:08 |
|
Body:
Infrastruktur-kontekst i magitek-ops:
```
coordination/experts/operations/magitek-server-ops/
├── kontoret/services/CURRENT-mcp-servers.md — Monorepo-dokumentasjon
├── shared/CURRENT-mcp-ecosystem.md — MCP-verktøy og ferdigservere
├── shared/CURRENT-credentials.md — Alle credentials (passord, tokens, API-keys)
└── CURRENT.md — Full nettverkstopologi
```
skills: [_gap-posting]
---
|
||||||
Ingestion History
Loading…