Grim:Relic Artifacts 标志

Grim:Relic Artifacts

组织
MindGoblinStudios
grim:relic-artifacts

Relic Artifacts: The house standard for artifacts — small interactive pages agents generate. The minimal version is one self-contained static HTML file; artifacts can grow a small server or extra files when the job genuinely needs them.

概览

发布者MindGoblinStudios
代码仓库grim-tome
技能名称grim:relic-artifacts
星标数
35
复刻数
4
附带文件
7
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 MindGoblinStudios 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Grim:Relic Artifacts AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/MindGoblinStudios/grim-tome/tree/main/plugins/grim-artifacts/skills/grim:relic-artifacts
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Grim:Relic Artifacts,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Grim:Relic Artifacts。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Grim:Relic Artifacts 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Relic Artifacts

What an artifact is

A small interactive page generated by an agent: a visualization, a calculator, a mockup, a report, a game, a demo. The user opens it in a browser and it works.

This skill is the standard for artifacts in general. If the artifact needs a live data layer that both the user and the agent can edit — persistent state, media review, two-way sync — that is a Workbench Artifact: a standardized, heavier pattern. Read grim:dev:workbench-artifact instead.

The Standard

Start minimal, and only escalate when the job demands it.

The minimal artifact — the default:

  1. One self-contained .html file. Inline the CSS and JS. No separate files, no folders. Opening it directly (file://) just works.
  2. No build step. No bundlers, no frameworks that require compilation, no package.json.
  3. No dependencies by default. Vanilla HTML/CSS/JS first. If a library genuinely earns its place (a chart, 3D, markdown rendering), load it from a CDN with a pinned version — never more than a couple.
  4. No network requirements at runtime beyond those pinned CDN tags. The artifact should work on a plane.
  5. Readable source. The user may open the file in an editor; keep it inspectable, commented where non-obvious, and small.

Escalate deliberately. Artifacts can grow beyond the minimal form when they need to — a small local server (one Python or Node file), a couple of split-out files, a data file to read. Each addition must earn its place; never add a server to something a static page can do. If it grows a persistent agent-editable state file and two-way sync, it has become a workbench artifact — switch to that standard.

Craft

  • Design it like a real page, not a code dump: sensible typography, spacing, and a deliberate palette.
  • Respect the OS light/dark preference with a prefers-color-scheme media query.
  • Make interactive state obvious: hover states, focus states, disabled states.
  • Handle the empty state — the artifact should look intentional before the user touches anything.
  • Test it by opening the file, not by reasoning about it.

Where artifacts go

Write artifacts into the project you are working in, named for what they show, e.g. retention-explorer.html, pricing-mockup.html. Delete-me-later throwaways go in the system temp folder instead of cluttering the project.

Share On Your Local Network (Phone Testing)

Default to this when the user wants phone access. Open any artifact (or built web app) on your phone over home WiFi — no internet, no deploy. The whole trick: serve it bound to 0.0.0.0 (all network interfaces) instead of 127.0.0.1/localhost (Mac-only), then hit the Mac's LAN IP from the phone on the same WiFi.

  1. Get the Mac's LAN IP: ipconfig getifaddr en0 (WiFi; try en1 if blank). e.g. 192.168.4.182. If ipconfig is unavailable or errors in a sandbox, use ifconfig en0 and read the inet ... IPv4 line.
  2. Serve bound to 0.0.0.0 — pick one (prefix with nohup … & so it survives the terminal):
    • Any static folder (zero deps): python3 -m http.server 8765 --bind 0.0.0.0 --directory <folder>
    • Or npx serve -l tcp://0.0.0.0:8765 <folder>
    • The workbench sync server: node artifacts/server.js --root <project-root> --host 0.0.0.0 so http://<lan-ip>:8765/ works.
    • A Vite app: build first (npm run build → dist/), then vite preview --host 0.0.0.0 --port 4173. (Live dev server: vite --host 0.0.0.0.) vite preview is just a tiny static server that hands out dist/.
  3. On the phone (same WiFi): open http://<lan-ip>:<port>/ (e.g. http://192.168.4.182:8765/). Safari → Share → Add to Home Screen opens it like an app.

Caveats — this is a convenience, not a deployment:

  • Phone + Mac must be on the same WiFi, and the Mac must be awake with the server still running.
  • The LAN IP can change (DHCP) on reconnect/router restart — re-check ipconfig getifaddr en0.
  • Local-only — nobody off the WiFi can reach it. For a persistent public URL (cellular, sharing, days later), deploy it (e.g. Render) instead.
  • PWA gotcha: if a service worker caches the shell cache-first, a re-share can serve a stale build — bump the SW cache name / use network-first for navigations, or clear site data on the phone.

When to upgrade to a workbench

Upgrade when any of these appear:

  • the user's clicks need to change files the agent reads back;
  • state must persist and stay diffable across sessions;
  • media files flow in and out of the surface;
  • the artifact becomes a reusable tool rather than a one-off view.

The upgrade path and the sync server that powers it live in grim:dev:workbench-artifact and the shared standard skills/artifacts/relic-artifacts/references/workbench-skills.md.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Grim:Relic Artifacts AI 技能有什么作用?

Relic Artifacts: The house standard for artifacts — small interactive pages agents generate. The minimal version is one self-contained static HTML file; artifacts can grow a small server or extra files when the job genuinely needs them.

为什么在 TypingMind 中使用 Grim:Relic Artifacts?

因为您只需安装一次,就能搭配任何模型使用。Grim:Relic Artifacts 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Grim:Relic Artifacts?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/MindGoblinStudios/grim-tome/tree/main/plugins/grim-artifacts/skills/grim:relic-artifacts。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Grim:Relic Artifacts?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Grim:Relic Artifacts 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Grim:Relic Artifacts 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Grim:Relic Artifacts AI 技能免费吗?

是的。MindGoblinStudios 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇