OpenSkopos
Check, fix, convert, compare and merge OpenSkopos decision documents. No account needed.
我該用這個嗎
品質與安全性
發現項目(4)
- HIGH
- LOW在 history 中
- LOW在 trace 中
- INFO在 trace 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"openskopos": {
"url": "https://mcp.openskopos.org/mcp"
}
}
}遠端端點
https://mcp.openskopos.org/mcpstreamable-http它能做什麼
工具清單
工具(13)
🟢check(document, format, filename)
Check an OpenSkopos document against the JSON Schema and the rules of the specification. Gives each problem with its JSON Pointer path, a hint for people, and whether the fix tool can fix it.
輸入結構描述
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The whole document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"format": {
"type": "string",
"enum": [
"json",
"yaml",
"markdown"
],
"description": "The format of the text. Default: from `filename`, else detected (JSON starts with '{'; Markdown has a '# ' title line)."
},
"filename": {
"type": "string",
"description": "The name of the file, for example INTENT.md or app.skopos.yaml. Sets the format, and the kind of a Markdown file without one."
}
},
"required": [
"document"
]
}🟢fix(document, format, filename, output_format)
Apply every fix that needs no choice from a person (for example ID counters), then check again. Gives the fixed document, the fixes applied and the problems that are left.
輸入結構描述
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The whole document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"format": {
"type": "string",
"enum": [
"json",
"yaml",
"markdown"
],
"description": "The format of the text. Default: from `filename`, else detected (JSON starts with '{'; Markdown has a '# ' title line)."
},
"filename": {
"type": "string",
"description": "The name of the file, for example INTENT.md or app.skopos.yaml. Sets the format, and the kind of a Markdown file without one."
},
"output_format": {
"type": "string",
"enum": [
"json",
"yaml",
"markdown"
],
"description": "The format of the document in the result. Default: the format of the input."
}
},
"required": [
"document"
]
}🟢convert(document, format, filename, to)
Write a document as JSON, YAML or Markdown in the canonical key order and layout. Use the same format to format a file (as `skopos fmt` does). Markdown is the readable agent file (specification section 10).
輸入結構描述
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The whole document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"format": {
"type": "string",
"enum": [
"json",
"yaml",
"markdown"
],
"description": "The format of the text. Default: from `filename`, else detected (JSON starts with '{'; Markdown has a '# ' title line)."
},
"filename": {
"type": "string",
"description": "The name of the file, for example INTENT.md or app.skopos.yaml. Sets the format, and the kind of a Markdown file without one."
},
"to": {
"type": "string",
"enum": [
"json",
"yaml",
"markdown"
],
"description": "The format to write."
}
},
"required": [
"document",
"to"
]
}🟢assign_ids(document, format, filename, output_format)
Give an ID to each item that has none, and update id_counters. Gives the new IDs and the document.
輸入結構描述
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The whole document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"format": {
"type": "string",
"enum": [
"json",
"yaml",
"markdown"
],
"description": "The format of the text. Default: from `filename`, else detected (JSON starts with '{'; Markdown has a '# ' title line)."
},
"filename": {
"type": "string",
"description": "The name of the file, for example INTENT.md or app.skopos.yaml. Sets the format, and the kind of a Markdown file without one."
},
"output_format": {
"type": "string",
"enum": [
"json",
"yaml",
"markdown"
],
"description": "The format of the document in the result. Default: the format of the input."
}
},
"required": [
"document"
]
}🟢render(document, previous, as, width)
Show a document as plain text (default) or as one self-contained HTML page. With `previous`, the view marks what was added, changed and removed since that version.
輸入結構描述
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The whole document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"previous": {
"type": "string",
"description": "An earlier version of the same artifact (optional): OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"as": {
"type": "string",
"enum": [
"text",
"html"
],
"description": "Default: text."
},
"width": {
"type": "integer",
"minimum": 40,
"maximum": 200,
"description": "Text only: the line width. Default: 100."
}
},
"required": [
"document"
]
}🟢diff(old, new)
The items that were added, changed, dropped and superseded between two documents, as `skopos diff` gives them.
輸入結構描述
{
"type": "object",
"properties": {
"old": {
"type": "string",
"description": "The older document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"new": {
"type": "string",
"description": "The newer document: OpenSkopos JSON, YAML or Markdown text, as in the file."
}
},
"required": [
"old",
"new"
]
}🟢history(documents, since)
The history of several documents from one or more artifacts, in any order: each version and what changed, and the links between artifacts.
輸入結構描述
{
"type": "object",
"properties": {
"documents": {
"type": "array",
"items": {
"type": "string",
"description": "One document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"minItems": 1,
"description": "The documents, in any order."
},
"since": {
"type": "integer",
"minimum": 0,
"description": "Show only the versions after this version number."
}
},
"required": [
"documents"
]
}🟢trace(documents, reference)
The life of one item across versions and artifacts, from a reference string such as 'FR3' or 'pa_xxxxxxxxxxxxxxxx#FR3'.
輸入結構描述
{
"type": "object",
"properties": {
"documents": {
"type": "array",
"items": {
"type": "string",
"description": "One document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"minItems": 1
},
"reference": {
"type": "string",
"description": "The item, for example FR3 or <artifact id>#FR3."
}
},
"required": [
"documents",
"reference"
]
}🟢merge(main, other, base, pairs, output_format)
Merge another document into main. Gives the next version of main as a draft, with the items of each conflict as proposed items. Resolve each conflict with the resolve tool, which accepts one side of it. Give `base`, the common earlier version, for a three-way merge.
輸入結構描述
{
"type": "object",
"properties": {
"main": {
"type": "string",
"description": "The main document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"other": {
"type": "string",
"description": "The document to merge into main: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"base": {
"type": "string",
"description": "The common earlier version (optional): OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"pairs": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 2,
"maxItems": 2
},
"description": "Pairs that people confirmed, as [main ID, other ID]. No other items pair."
},
"output_format": {
"type": "string",
"enum": [
"json",
"yaml",
"markdown"
],
"description": "The format of the document in the result. Default: the format of the input."
}
},
"required": [
"main",
"other"
]
}🟢conflicts(document)
The open conflicts of a merged document: each pair of items where a person must choose one.
輸入結構描述
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The whole document: OpenSkopos JSON, YAML or Markdown text, as in the file."
}
},
"required": [
"document"
]
}🟢resolve(document, id, output_format)
Accept the item with this ID and reject the other item of its open conflict. In a conflict with several items on a side, accept every item on the side of this item and reject the others. Gives the new document.
輸入結構描述
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The whole document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"id": {
"type": "string",
"description": "The ID of the item to accept."
},
"output_format": {
"type": "string",
"enum": [
"json",
"yaml",
"markdown"
],
"description": "The format of the document in the result. Default: the format of the input."
}
},
"required": [
"document",
"id"
]
}🟢export(document, tool, name, number)
Export a document to the files of OpenSpec, Kiro or GitHub Spec Kit. Gives each file with its path, and the items that the tool has no place for.
輸入結構描述
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The whole document: OpenSkopos JSON, YAML or Markdown text, as in the file."
},
"tool": {
"type": "string",
"enum": [
"openspec",
"kiro",
"speckit"
]
},
"name": {
"type": "string",
"description": "The name of the change or feature. Default: from the title."
},
"number": {
"type": "integer",
"minimum": 1,
"description": "Spec Kit only: the feature number. Default: 1."
}
},
"required": [
"document",
"tool"
]
}🟢spec(section, what)
The OpenSkopos 0.3 specification (Markdown), one section of it, its JSON Schema, or the names of its rules. Read section 4 for the item types and section 10 for the Markdown format.
輸入結構描述
{
"type": "object",
"properties": {
"section": {
"type": "integer",
"minimum": 1,
"maximum": 13,
"description": "One numbered section. Default: the contents."
},
"what": {
"type": "string",
"enum": [
"spec",
"schema",
"rules"
],
"description": "Default: spec."
}
}
}社群
證據