Borrowing it
Nothing to install: this file belongs to suharvest/sensecraft-solutions. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/suharvest/sensecraft-solutions/main/.agents/skills/preview-solution-content/SKILL.mdgit clone --depth 1 https://github.com/suharvest/sensecraft-solutionsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/suharvest/sensecraft-solutions/preview-solution-content)<a href="https://agentmods.dev/skills/suharvest/sensecraft-solutions/preview-solution-content"><img src="https://agentmods.dev/badge/skills/suharvest/sensecraft-solutions/preview-solution-content/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/suharvest/sensecraft-solutions/preview-solution-content"><img src="https://agentmods.dev/badge/skills/suharvest/sensecraft-solutions/preview-solution-content.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00124 | $0.01649 |
| Opus 5 | $0.00062 | $0.00825 |
| Sonnet 5 | $0.00025 | $0.00330 |
| Haiku 4.5 | $0.00012 | $0.00165 |
Grade A, and why
preview-solution-content scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsS "$BASE/api/health" >/dev/null && echo "backend reachable" || echo "backend NOT reachable" How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Preview Solution Content (Local-Only, NOT a Release)
Bridge "I edited files in the repo" → "I see it in my installed app, on my machine, right now". For non-technical users who can't / won't rebuild the desktop app.
Preview vs. Release — read first
This skill is preview only. Concretely:
| Aspect | Preview (this skill) | Release (NOT this skill) |
|---|---|---|
| Where the content lands | Only the installed app on this machine | OSS CDN → all users via OTA |
| Touches Git? | No | Yes — commit bundled_hashes.json |
Runs generate_solution_manifest.py? |
No | Yes |
Updates manifest.json / bundled_hashes.json? |
No | Yes |
| Reversible? | Yes — reimport or restart app | Requires a follow-up release |
| Audience | Only the editor, for their own eyes | Everyone running the app |
If the user is asking to ship the change, stop. Tell them this is preview only and point at the release flow (scripts/generate_solution_manifest.py + git commit bundled_hashes.json). Get explicit confirmation before running anything that writes to a network or to git.
When to use
- User edited Markdown / YAML / images under
solutions/<id>/in the source tree - They want to see how those edits render inside the already-installed desktop app
- They are explicitly previewing — no OTA, no commit, no
bundled_hashes.jsonregen
Workflow
Step 1 — Ask user for the backend port
The desktop app uses a dynamic port. The user can read it from the app:
请在 App 内打开 设置 → API 访问,把"接口地址"里的端口号告诉我(例如
http://127.0.0.1:3260里的3260)。
Default is 3260 but Tauri may have picked another free port — always ask, don't assume.
注意:这里不需要勾选"启用局域网 API 访问"那个开关。那个开关只控制别的机器能不能访问;我们在同一台机器上跑命令,"接口地址"会一直显示,本机请求免认证。
Set PORT=<user-provided> and BASE=http://127.0.0.1:$PORT for the rest of the flow.
Sanity check the port is alive before doing anything else:
curl -fsS "$BASE/api/health" >/dev/null && echo "backend reachable" || echo "backend NOT reachable"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 135 lines · 124 tokens per session scan A 54e888936eca
preview-solution-content is a skill published in the GitHub repository suharvest/sensecraft-solutions (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 124 tokens to every session and 1,649 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…