360 Secure SkillHub
360 安全技能中心

export

该 Skill 读取已完成的研究会话,生成带 YAML frontmatter 的 Markdown 文件,按渠道分组呈现发现,并可交给知识接收流程;它不负责发现评分,也不生成面向人的综合报告。

分类:知识
athola
athola
热度 26.27
最近更新 2026-12-01 14:47:45

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add athola/nm-tome-export
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
export
description
Export a research session into knowledge-intake compatible markdown. Use after a research session to hand findings to memory-palace
version
1.10.3
triggers
["export","research","knowledge-transfer","memory-palace"]
metadata
{"openclaw":{"homepage":"https://github.com/athola/claude-night-market/tree/master/plugins/tome","emoji":"🦞","requires":{"config":["night-market.tome:research","night-market.tome:synthesize"]}}}
source
claude-night-market
source_plugin
tome

Night Market Skill: ported from claude-night-market/tome. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Export

Turn a finished research session into a file knowledge-intake can read without reformatting.

When To Use

After a research session has findings and you want them stored rather than merely reported.

When NOT To Use

  • The session is still gathering findings: finish Skill(tome:research) first, since an export of an empty session emits only frontmatter.
  • You want a human-readable report: use Skill(tome:synthesize), which produces the narrative form with coverage and gaps.

Workflow

Load the session and render it:

from pathlib import Path

from tome.session import SessionManager
from tome.output.export import export_for_memory_palace

session = SessionManager(Path.cwd()).load_latest()
markdown = export_for_memory_palace(session)
Path(f"docs/research/export-{session.id}.md").write_text(markdown)

SessionManager resolves its store relative to the path it is given, so run this from the repository root or the session will not be found.

To export a specific session, use load(session_id) instead of load_latest().

What It Emits

YAML frontmatter carrying topic, domain, session_id, date, finding_count, channels, and type: research-export, followed by findings grouped by channel. Each finding renders its source, URL, relevance, summary, and channel-specific metadata.

An empty session emits the frontmatter and a line stating that no findings were recorded, which is deliberate. A silent empty file would read as a successful export of nothing.

Handoff

The output is an external resource, not a corpus entry. Feed it to Skill(memory-palace:knowledge-intake), which owns evaluation, routing, and storage. This skill does no scoring.

Exit Criteria

  • export_for_memory_palace was called on a loaded session
  • The output file exists and its frontmatter includes type: research-export
  • finding_count in the frontmatter matches the session's findings
  • The file was handed to Skill(memory-palace:knowledge-intake) or its path was reported for later intake