/images/avatar.png

滑翔闪

在你步入了这一陌生而奇妙的思想花园之后,世界将永远不再是同一个世界了。而当你多年后回顾这段经历时,即使是当时你不甚理解的东西也将已经明显成熟。——萨缪尔森

Copilot web fetch Fetch a web page’s contents as Markdown through Copilot Plus. How to run Find the absolute path to this SKILL.md file on disk, then run the script next to it that matches the operating system. No extra runtime is needed — sh (macOS/Linux) and cmd/PowerShell (Windows) are always present. On macOS or Linux: sh "/absolute/path/to/this/skill/directory/web-fetch.sh" "<url-to-fetch>" On Windows, run the .cmd wrapper. In PowerShell you must prefix it with the call operator & (PowerShell treats a quoted path on its own as a string and won’t run it); from cmd, run the quoted path without the &:

Copilot web search Search the web through Copilot Plus and return results for the user’s query. How to run Find the absolute path to this SKILL.md file on disk, then run the script next to it that matches the operating system. No extra runtime is needed — sh (macOS/Linux) and cmd/PowerShell (Windows) are always present. On macOS or Linux: sh "/absolute/path/to/this/skill/directory/web-search.sh" "<your search query>" On Windows, run the .cmd wrapper. In PowerShell you must prefix it with the call operator & (PowerShell treats a quoted path on its own as a string and won’t run it); from cmd, run the quoted path without the &:

Copilot YouTube transcript Fetch a YouTube video’s transcript through Copilot Plus. How to run Find the absolute path to this SKILL.md file on disk, then run the script next to it that matches the operating system. No extra runtime is needed — sh (macOS/Linux) and cmd/PowerShell (Windows) are always present. On macOS or Linux: sh "/absolute/path/to/this/skill/directory/youtube-transcript.sh" "<youtube-url>" On Windows, run the .cmd wrapper. In PowerShell you must prefix it with the call operator & (PowerShell treats a quoted path on its own as a string and won’t run it); from cmd, run the quoted path without the &:

JSON Canvas examples Connected notes { "nodes": [ { "id": "8a9b0c1d2e3f4a5b", "type": "text", "x": 0, "y": 0, "width": 300, "height": 140, "text": "# Main idea" }, { "id": "1a2b3c4d5e6f7a8b", "type": "file", "x": 400, "y": 0, "width": 300, "height": 200, "file": "Notes/Supporting note.md", "subpath": "#Evidence" } ], "edges": [ { "id": "3c4d5e6f7a8b9c0d", "fromNode": "8a9b0c1d2e3f4a5b", "fromSide": "right", "toNode": "1a2b3c4d5e6f7a8b", "toSide": "left", "label": "supported by" } ] } Grouped board { "nodes": [ { "id": "5e6f7a8b9c0d1e2f", "type": "group", "x": 0, "y": 0, "width": 320, "height": 500, "label": "In progress", "color": "3" }, { "id": "8b9c0d1e2f3a4b5c", "type": "text", "x": 30, "y": 60, "width": 260, "height": 100, "text": "## Task\n\nImplement the feature" } ], "edges": [] }

JSON Canvas Follow JSON Canvas 1.0. A .canvas document contains top-level nodes and edges arrays. Workflow Parse the existing JSON before editing it. Generate a unique lowercase 16-character hexadecimal ID for each new node or edge. Position nodes without overlap and preserve intentional existing layout. Point every edge at existing node IDs. Serialize valid JSON and run the validation checklist below. Nodes Every node requires id, type, x, y, width, and height.

Bases examples Task tracker filters: and: - file.hasTag("task") - 'file.ext == "md"' formulas: days_until_due: 'if(due, (date(due) - today()).days, "")' is_overdue: 'if(due, date(due) < today() && status != "done", false)' properties: formula.days_until_due: displayName: "Days Until Due" views: - type: table name: Active filters: and: - 'status != "done"' order: - file.name - status - due - formula.days_until_due groupBy: property: status direction: ASC Daily notes index filters: and: - file.inFolder("Daily Notes") - '/^\d{4}-\d{2}-\d{2}$/.

Bases functions reference Global functions Function Purpose date(value) Parse a date string duration(value) Parse a duration string now() / today() Current date-time / date if(condition, yes, no?) Conditional value number(value) Convert to number link(path, display?) Create a link file(path) Resolve a file object list(value) Normalize a value to a list image(path) / icon(name) Create renderable values Common methods String: contains, startsWith, endsWith, lower, trim, replace, split, isEmpty. Number: abs, ceil, floor, round, toFixed.

Obsidian Bases Workflow Read the existing .base file before editing it. Define global scope with filters. Add computed values under formulas only when needed. Configure property display names and one or more views. Validate YAML, formula references, quoting, and date/duration operations. Open or query the Base in Obsidian when the CLI is available. Schema filters: and: - 'file.ext == "md"' - 'status != "archived"' formulas: days_until_due: 'if(due, (date(due) - today()).days, "")' properties: status: displayName: Status formula.