スキル一覧に戻る
CortaLabs

scribe-mcp-usage

by CortaLabs

Scribe is a documentation governance system designed to keep AI agents aligned, accountable, and auditable while they build software. In short: Scribe is the guardrails. Agents still drive—but they don’t get to veer into the ditch, rewrite history, or pretend unfinished work is done

0🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: scribe-mcp-usage description: Operate the local Scribe MCP tools for logging, project setup, manage_docs workflows, read_file usage, bridge integrations, and sentinel/project mode discipline. Use whenever you need to follow Scribe tool contracts, document management rules, or bridge development.

Scribe MCP Usage

Start here, then open only what you need:

Core Workflow

  • references/quickstart.md — minimal correct workflow for any session.
  • references/INDEX.md — how to search fast across references.
  • references/Operational_Contract.md — full rules, tool signatures, manage_docs schemas.
  • references/Scribe_Usage.md — canonical tool usage and examples.

Tools

  • references/manage_docs.md — manage_docs details and examples.
  • references/read_file.md — read_file modes, scope rules, and examples.
  • references/logging.md — logging discipline and reasoning block.

Modes & Rules

  • references/modes.md — project vs sentinel mode rules.
  • references/doc_naming.md — doc_name vs doc_category rules.

Bridge System (External MCP Integration)

  • references/bridges/INDEX.md — bridge system overview and navigation.
  • references/bridges/quickstart.md — get a bridge running in 5 minutes.
  • references/bridges/manifest.md — YAML manifest schema reference.
  • references/bridges/plugin.md — BridgePlugin API reference.
  • references/bridges/hooks.md — hook lifecycle and execution.
  • references/bridges/permissions.md — permission system and access control.
  • references/bridges/tools.md — tool wrapping and custom tools.
  • references/bridges/admin_cli.md — admin CLI commands.

Templates

  • assets/templates/ — managed doc templates (research/bug/review/agent card/logs).
  • assets/templates/bridge/ — bridge manifest and plugin templates.

Non-negotiables (short)

  • Use MCP tools directly; no manual substitutes.
  • Log after meaningful actions with a reasoning block.
  • Use read_file for file contents; avoid shell reads.
  • Bridges must implement on_activate(), on_deactivate(), health_check().

manage_docs Quick Reference

7 Primary Actions

ActionPurposeRequired Params
createCreate new doc (research/bug/custom)doc_name, metadata.doc_type
replace_sectionReplace content by section anchordoc_name, section, content
apply_patchApply unified diff patchdoc_name, edit or patch
replace_rangeReplace explicit line rangedoc_name, start_line, end_line, content
replace_textFind/replace text patterndoc_name, metadata.find, metadata.replace
appendAppend content to doc/sectiondoc_name, content
status_updateUpdate checklist item statusdoc_name, section, metadata

Global Optional Params

  • project — cross-project override
  • dry_run — preview without applying
  • target_dir — custom target for CREATE

doc_type Values (INSIDE metadata)

custom (default), research, bug, review, agent_card

Create Examples

# Research doc
manage_docs(
    action="create",
    doc_name="RESEARCH_AUTH_20251119",
    metadata={"doc_type": "research", "research_goal": "Analyze auth flow"}
)

# Bug report (doc_name auto-generated)
manage_docs(
    action="create",
    metadata={
        "doc_type": "bug",
        "category": "logic",
        "slug": "auth_leak",
        "severity": "high",
        "title": "Auth token not invalidated"
    }
)

# Custom doc
manage_docs(
    action="create",
    doc_name="COORDINATION_PROTOCOL",
    metadata={"doc_type": "custom", "body": "# Protocol\n\nContent..."}
)

Edit Examples

# Replace section
manage_docs(
    action="replace_section",
    doc_name="architecture",
    section="problem_statement",
    content="## Problem Statement\nNew content here..."
)

# Update checklist
manage_docs(
    action="status_update",
    doc_name="checklist",
    section="phase_1_task_1",
    metadata={"status": "done", "proof": "PR #123 merged"}
)

# Append to section
manage_docs(
    action="append",
    doc_name="architecture",
    section="constraints",
    content="- New constraint added",
    metadata={"position": "inside"}
)

# Replace text (find/replace)
manage_docs(
    action="replace_text",
    doc_name="architecture",
    metadata={"find": "old_term", "replace": "new_term", "replace_all": True}
)

# Replace line range
manage_docs(
    action="replace_range",
    doc_name="phase_plan",
    start_line=45,
    end_line=50,
    content="New content for these lines"
)

Deprecated Actions (still work, route to create)

  • create_research_doccreate(metadata={"doc_type": "research"})
  • create_bug_reportcreate(metadata={"doc_type": "bug"})
  • create_doccreate(metadata={"doc_type": "custom"})

Hidden Actions (advanced use)

list_sections, list_checklist_items, normalize_headers, generate_toc, validate_crosslinks, search, batch

スコア

総合スコア

75/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です