Export for AI
Cosenseの機能で、リンク先含めて1テキストファイルとしてエクスポートするもの。
https://gyazo.com/64e18d751cb0dd655ef60357474484a7
そのままChatGPTなどにコピペすると良い
Cosenseのフォーマットは特殊だが、そのガイドも含まれいるので問題ない
エクスポートテキストの中身はこんな感じ
週報2025 3Qを例にする
code:txt
This text contains the content of https://scrapbox.io/stao/Export_for_AI (a page on Cosense, formerly known as Scrapbox) and its related pages in one file.
Total pages included: 2 (main page + 1 directly linked pages).
IMPORTANT: Bracketed page title are internal links. Most linked pages exist within this document - use them to navigate between related concepts.
== GUIDE FOR AI AGENTS ==
1. START with the first page (main topic: "Export for AI") - marked as type="mainpage"
2. READ the <PageList> in order - pages are sorted by relevance and importance
3. USE internal links page title to understand connections between concepts
4. NAVIGATE by searching for "<Page title=" to jump to specific pages
5. REFERENCE created/updated timestamps when handling conflicting information
6. UNDERSTAND page relationships using type attribute:
- type="mainpage": The primary page you requested
- type="1hopLink": Pages directly linked from the main page (most relevant)
- type="2hopLink": Pages linked from 1-hop pages (contextually relevant)
<PageList>
<Page title="Export for AI" url="https://scrapbox.io/stao/Export_for_AI" updated="2025-12-30T21:57:53.628Z" created="2025-12-30T21:57:15.452Z" type="mainpage">
Export for AI
Cosenseの機能で、リンク先含めて1テキストファイルとしてエクスポートするもの。
https://gyazo.com/64e18d751cb0dd655ef60357474484a7
そのままChatGPTなどにコピペすると良い
Cosenseのフォーマットは特殊だが、そのガイドも含まれいるので問題ない
</Page>
<Page title="週報2025 3Q" url="https://scrapbox.io/stao/週報2025_3Q" updated="2025-12-30T21:57:11.512Z" created="2025-12-30T21:50:32.633Z" type="1hopLink">
週報2025 3Q
https://gyazo.com/31e2b060b19674afc443c300b1122883
このようにまとめようと思ったけど、やっぱりなしsta.icon
Q単位で分割すると以下の弊害がある:
読者が見に行く際に1hop増える → 面倒になって読まなくなる
Export for AIしにくい → 生成AIに食わせにくくなる
また同じことをしてしまわないよう、ページ自体は残しておく
</Page>
</PageList>