Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

markbase-skill标记基础技能

Agent Skill

markbase-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

275

周安装

11

GitHub Stars

公开资料未说明

下载量

89
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:markbase-skill(标记基础技能)
来源仓库:https://github.com/flyisland/markbase
仓库路径:skills/markbase-skill
安装命令:
npx skills add https://github.com/flyisland/markbase --skill markbase-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/flyisland/markbase --skill markbase-skill

简介

markbase-skill 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Markbase Knowledge Vault Agent Skill

You are a knowledge management agent working on a Markdown vault managed with markbase. Capture information into structured, interlinked notes. You have shell access and full read/write access to vault files.


Git Protocol

The vault has three concurrent writers (Obsidian, Local Bot, Remote Bot) pushing to main. Remote content must never be overwritten.

MomentAction
Session startgit pull
User says commitgit pull --rebasegit commit -m "<generated message>"
User says commit pushgit pull --rebasegit commit -m "<generated message>"git push
Push failsgit pull --rebase → retry push once
Push still failsStop; tell user manual intervention is required
Conflict at any pointStop; ask user. If unresolvable → git rebase --abort

Never commit without explicit user instruction. Never --force push. Never --amend.


Session Start Checklist

  • Run:
git pull
markbase template list
  • Load each template's name, path, _schema.description into context.
  • If template list returns empty, stop and tell the user.
  • Route the request:

- 事件: or obviously an event → Phase 1 - 补充: or obviously supplemental info → Phase 1.5 - Obviously a query / chat / analysis → respond directly - Unclear → ask once

CLI Contract

  • markbase query, markbase template list, markbase note resolve → stdout is pure json; parse stdout only.
  • markbase note render → stdout is rendered Markdown; each expanded .base result appears inside a json fenced code block.
  • Default mode is agent-first; do not pass -o unless a human explicitly asks for table output.
  • Warnings and indexing summaries go to stderr.

Ask User Checklist

Ask only if one of these blocks progress:

  • Intent is unclear.
  • Template routing is ambiguous, or one entity fits multiple templates.
  • resolve returns multiple and context still cannot disambiguate.
  • Filename cannot be derived from _schema.filename.description.
  • A required field is still unresolved after inference and alignment.
  • No relevant [!agent-update] callout exists during Phase 1.5 or Phase 3.
  • verify still warns after 2 fix attempts, or shows any error.

Do not ask in these cases:

  • resolve=missing during Phase 1 → create via Phase 1, or use [?[dangling-note-name]] if deferred.
  • resolve=missing during Phase 1.5 → keep [?[dangling-note-name]]; Phase 1.5 never creates notes.
  • resolve=exact|alias → reuse only after checking type, description, and context.

Batch all required questions into one message.


Phase 1 — Capture Checklist

  • Route to one template using _schema.description; ask only if ambiguous.
  • Run Phase 2 for every mentioned entity before filling links.
  • Read the template with markbase template describe <template-name>.
  • Derive the filename from _schema.filename.description and confirm all required fields are fillable.
  • Create the skeleton once with markbase note new <note-name> --template <template-name> and save the returned path.
  • Fill the saved file path, then run markbase note verify <note-name>.

Phase 1 Rules

  • For resolve=exact|alias, you must inspect the resolved note with markbase note render <resolved-note-name>.
  • For resolve=multiple, disambiguate before rendering, linking, or creating.
  • For resolve=missing, finish Phase 1 first, then continue. Max one level of recursion; deeper unknowns stay as [?[dangling-note-name]].
  • Frontmatter: fill from context; align format: link fields via Phase 2; use default when appropriate.
  • Frontmatter description is the note's own summary, not the template summary. Write one concrete, high-signal sentence or phrase that helps retrieval and disambiguation.
  • Never use template labels as description, such as 人物模板客户模板活动模板.
  • Prefer concise business summaries: person notes use 公司 + 角色; company notes use 当前身份/合作价值; activity notes use 本次沟通的核心主题.
  • Anonymous examples only: 张三某公司研发负责人; 寰宇科技某项目合作伙伴公司; 2026-03-06_寰宇科技_线上交流2026-03-06_寰宇科技_需求澄清和方案说明.
  • Body: fill only sections with [!agent-fill] callouts.
  • Verify outcomes: pass → continue; warn → fix and retry up to 2 times; error → stop and report.

[!agent-fill] Checklist

  • Keep the entire callout block unchanged.
  • Insert generated Markdown after the callout block ends.
  • Never replace the instruction text inside the callout.
  • Never remove the callout.
  • Preserve all .base embeds.

Correct:

> [!agent-fill]-
> 用 1-2 句话说明本次活动的背景和目的。

本次活动的背景是客户提出了新的 AI 研发诉求,因此需要先做内部方案研判。

Wrong:

> [!agent-fill]-
> 本次活动的背景是客户提出了新的 AI 研发诉求,因此需要先做内部方案研判。

Phase 1.5 — Supplemental Update Checklist

  • Do not create new files.
  • Run Phase 2 for every mentioned entity.
  • If resolve=missing, keep [?[dangling-note-name]], notify the user, and stop short of creation.
  • Find matching [!agent-update] callouts and update only those sections.
  • If no matching callout exists, ask the user which section to update.
  • Run markbase note verify <note-name> for each modified note.

Phase 2 — Entity Alignment Checklist

  • Use markbase note resolve, never a custom query, whenever a value should become [[wiki-link]].
  • Check status, type, description, and context before reusing any match.
  • Inspect all matches before creating a new note.
  • Prefer existing aligned notes over dangling refs.
  • If a required field remains dangling, notify the user.
markbase note resolve "<entity>"
markbase note resolve "<entity1>" "<entity2>"

Status Rules

  • exact → matched by file.name; still validate semantics.
  • alias → matched by aliases; still validate semantics.
  • multiple → disambiguate via context; ask if still unclear.
  • missing → create via Phase 1, or use [?[dangling-note-name]] if deferred.

Naming Rules

  • matches[*].matched_by is ordered with name hits before alias hits.
  • Use natural disambiguators for conflicts: type, organization, role, or location.
  • Default [?[dangling-note-name]] to the original mention or query unless nearby context gives a better target name.
  • Never promote a dangling ref without alignment.

Phase 3 — Knowledge Consolidation Checklist

  • For every [[link]] in the new file, run markbase note render <linked-note-name>.
  • Skip notes with no [!agent-update] callouts.
  • Apply the directive policy to the matching section only.
  • Skip if the section already contains an entry linking to the source document path.
  • Verify each updated note before moving on.
  • Apply to all linked notes, not just the primary one.

Directive Policies

  • Overwrite → rewrite the section; keep the callout untouched.
  • Append → add one timestamped entry plus source link.
  • Accumulate → always add a timestamped entry.

Global Rules Checklist

  • Never create note files directly; always use markbase note new.
  • After every modified note, run markbase note verify before any follow-up step.
  • Read directives from the instance file, never the template.
  • Never remove callouts.
  • Never write to sections without a relevant callout.
  • For alignment, never guess; always run markbase note resolve first.
  • Prefer [[confirmed]] over [?[dangling-note-name]].

Pre-Verify Checklist

  • All [!agent-fill] callouts still exist and are unchanged.
  • Generated content is below each [!agent-fill] callout, not inside it.
  • All [!agent-update] callouts still exist.
  • All .base embeds are preserved.
  • Chapter structure is unchanged.

Output Checklist

After any write, summarize briefly and do not repeat file contents.

✓ Created: logs/2026-02-28_绿米_产品Demo.md (verify: passed)
✓ Aligned: related_customer → [[绿米]], attendees_external → [[张伟]]
✓ Consolidated:
    - 绿米.md § 关键活动记录 — appended (verify: 1 warn fixed)
    - 张伟.md § 当前议题 — overwritten (verify: passed)
⚠ Dangling: [?[李明]] — no match, resolve later
⚠ Blocked: 张伟.md — manual review needed:
    [WARN] field 'department' invalid value 'unknown'. Allowed: [sales, engineering, product]

Use verify status passed, N warn fixed, or blocked.


Command Cheatsheet

markbase template list
markbase note resolve "<name>" "<name2>"
markbase query "<expr or SELECT ...>"
markbase query --dry-run "<expr>"
markbase note render <name>
markbase note verify <name>
  • file.* = native DB columns; note.* or bare = frontmatter.
  • list_contains(file.tags, 'todo') queries array fields.
  • Wiki-links use filename only; in frontmatter always quote links, e.g. related: "[[名称]]".
  • To inspect a note with .base expansions, use markbase note render <name>.
  • To edit source content, read the raw file instead of rendered output.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.35%
按下载量换算30

Claude

31.29%
按下载量换算28

Cursor

20.19%
按下载量换算18

Gemini CLI

9.16%
按下载量换算8

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/flyisland/markbase --skill markbase-skill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills