Agent skill · Audited from source
PreviewShip
skill · blockdancez/PreviewShipLicence not declaredAudited 12 Oct 2026 · source 20ac27aa25af
Is it safe? With care — CAUTION, grade B (80/100). We read this skill's source at commit 20ac27aa25af and observed network access and no hard-coded secrets. The audit raised 25 findings, 0 critical or high. What it does: Export Claude Code JSONL conversations into high-fidelity HTML pages with safe tool timelines, then deploy them to PreviewShip as public share links. Use when users ask to share a Claude Code chat, export Claude Code…
Cite
Cite this page
ModelsAtlas. “PreviewShip (blockdancez/PreviewShip)”. Retrieved 12 Oct 2026. https://modelsatlas.com/skills/blockdancez/previewship
Trust audit
Audit 0.4.1 · source read 12 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkDeclared3 observations
- ShellNone observedNo commands run in the source
- DependenciesNot pinnedSome versions float
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 5 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | WARN | 12 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 8 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (25)
MEDIUMInformation disclosuredisclose.log_secret · cli/src/cli.ts:170
console.log(c.bold('…') + (result.visibility || (password ? '…' : publicAccess ? '…' : '…')));- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · cli/src/cli.ts:427
console.log(`API Key: ${apiKey.substring(0, 12)}...`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · cli/src/cli.ts:618
console.log(`Password protected: ${access.passwordProtected ? 'yes' : 'no'}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMObfuscation / stealthobf.base64_blob · skills/share-codex-chat/scripts/codex-styles.css:4445
@font-face { font-family: KaTeX_Size3; src: url("data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRR- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInventory / provenanceinv.symlink · docs/version/2.0.1/sql/V40__background_content_reviews.sql
docs/version/2.0.1/sql/V40__background_content_reviews.sql
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · docs/version/2.0.1/sql/V41__content_isolation_and_revocations.sql
docs/version/2.0.1/sql/V41__content_isolation_and_revocations.sql
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · docs/version/2.0.1/sql/V42__durable_content_abuse_history.sql
docs/version/2.0.1/sql/V42__durable_content_abuse_history.sql
- Why
- link not followed
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · skills/share-claude-code-chat/scripts/render_chat_html.py:78
suffix = hashlib.sha1(identity.encode("utf-8")).hexdigest()[:8]- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · skills/share-codex-chat/scripts/render_chat_html.py:95
suffix = hashlib.sha1(identity.encode("utf-8")).hexdigest()[:8]- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · cli/scripts/deploy-content-risk.test.mjs:43
process.env.PREVIEWSHIP_SERVER_URL = `http://127.0.0.1:${server.address().port}`;- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · skills/share-claude-code-chat/scripts/render_chat_html.py:626
raw = base64.b64decode(payload, validate=False)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · skills/share-codex-chat/scripts/render_chat_html.py:833
raw = base64.b64decode(payload, validate=False)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · cli/package.json
archiver, @types/archiver, @types/node, esbuild, typescript
- Why
- 5 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · extension/package.json
archiver, @types/archiver, @types/node, @types/vscode, @vscode/vsce, esbuild, ovsx, typescript
- Why
- 8 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · mcp/package.json
@modelcontextprotocol/sdk, archiver, previewship, zod, @types/node, esbuild, typescript
- Why
- 7 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · README.md:29
- [Share a Codex chat conversation](https://previewship.com/docs/share-codex-chat)
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:30
- [Share a Claude Code chat conversation](https://previewship.com/docs/share-claude-code-chat)
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · cli/README.md:50
- [Share a Codex chat conversation](https://previewship.com/docs/share-codex-chat)
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · cli/README.md:51
- [Share a Claude Code chat conversation](https://previewship.com/docs/share-claude-code-chat)
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
INFOInventory / provenanceinv.oversize · extension/resources/previewship.gif
extension/resources/previewship.gif
- Why
- 1639434 bytes not read
- Fix
- —
INFOPrompt injectionprompt.credential_read · README.md:293
| `set_project_access`, `get_project_access` | Set public/password access; `PUBLIC` clears an existing password | `projectId`, `visibility`, `password` for password mode |
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · cli/README.md:159
Show or update project access. PreviewShip currently supports public access and password access. Setting a project back to public clears its existing project password.
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · cli/README.md:163
previewship projects access 42 --password "review-pass"
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · docs/agent-tool.md:282
| `previewship projects access <project-id> --password <password>` | 设置密码访问 | Pro 能力 |
- Why
- asks the agent to read credentials
- Fix
- —
Audit 0.4.1 · source sha 20ac27aa25af · 12 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherblockdancez GitHub organizationOwner of the repository this skill is read from
- Source folderblockdancez/PreviewShipThe exact folder we audited
- LicenceNot declaredAs the repository states it
- Commit pinned for this verdict20ac27aa25afA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Export Claude Code JSONL conversations into high-fidelity HTML pages with safe tool timelines, then deploy them to PreviewShip as public share links. Use when users ask to share a Claude Code chat, export Claude Code…
---
name: share-claude-code-chat
description: Export Claude Code JSONL conversations into high-fidelity HTML pages with safe tool timelines, then deploy them to PreviewShip as public share links. Use when users ask to share a Claude Code chat, export Claude Code history, publish a Claude Code conversation, or create a public URL for implementation and review context.
license: MIT
metadata:
author: PreviewShip
version: "1.0.0"
repository: https://github.com/blockdancez/PreviewShip
docs: https://previewship.com/docs/share-claude-code-chat
install: npx skills add blockdancez/PreviewShip --skill share-claude-code-chat -a codex -g --yes
installLocal: npx skills add blockdancez/PreviewShip --skill share-claude-code-chat -a codex --yes
---
# Share Claude Code Chat
## Requirements
Requires Python 3, Node.js >=18 for Markdown rendering, and the PreviewShip CLI. The workflow is local and offline before deploy: it reads Claude Code session JSONL files from `~/.claude/projects` and does not launch, attach to, or control Claude Code.
## How It Works
Claude Code stores project conversations under `~/.claude/projects/<project-key>/<session-id>.jsonl`. This skill:
1. Locates a Claude Code JSONL session (`scripts/render_chat_html.py --current` chooses the newest local session).
2. Converts Claude Code records into a visible transcript.
3. Renders a self-contained `index.html` with user bubbles, assistant Markdown, context cards, and collapsed processing summaries shown before the related assistant answer.
4. Deploys the HTML with PreviewShip CLI and returns the public URL.
## Privacy Rules
Render only visible, shareable chat content. Never publish hidden thinking text, raw tool results, tool stdout/stderr, system records, file-history snapshots, permission records, settings files, API keys, environment variables, or full selected-file contents. The renderer may show a non-verbatim "Claude Code 思考过程已隐藏" processing row, but it must not include the hidden thinking payload.
Claude Code attachment records can contain entire file contents. The renderer may show a file/directory/IDE-selection card, but it must not include the attachment body.
## Workflow
### 1. Resolve the skill directory
```bash
SKILL_DIR="<directory containing this SKILL.md>"
```
Resolve this dynamically; do not hard-code a user-specific path.
### 2. Render the current Claude Code conversation
```bash
mkdir -p /tmp/claude-code-chat-share
python3 "$SKILL_DIR/scripts/render_chat_html.py" --current --output /tmp/claude-code-chat-share/index.html
```
`--current` picks the newest main `~/.claude/projects/**/*.jsonl` session, skips `subagents/agent-*.jsonl`, and prints the resolved path to stderr.
If the wrong session is selected, list recent sessions and pass one explicitly:
```bash
python3 "$SKILL_DIR/scripts/render_chat_html.py" --list-recent
python3 "$SKILL_DIR/scripts/render_chat_html.py" \
--input "/Users/<you>/.claude/projects/<project-key>/<session-id>.jsonl" \
--output /tmp/claude-code-chat-share/index.html
```
The renderer also accepts a hand-written transcript JSON object with a `messages` array as a fallback.
### 3. Verify locally
```bash
python3 -m http.server 4174 --directory /tmp/claude-code-chat-share
```
Check that the page is not blank, message order is correct, Markdown/code blocks render cleanly, and no secrets or raw tool output are present.
### 4. Ensure PreviewShip CLI is available and authenticated
```bash
command -v previewship || command -v npx
previewship whoami || npx -y previewship whoami
```
If not authenticated, stop and ask the user to log in:
```text
请前往 https://previewship.com 登录,创建 API Key,然后运行:
npx previewship login --key ps_live_YOUR_KEY
(或 export PREVIEWSHIP_API_KEY=ps_live_YOUR_KEY)
```
### 5. Choose a deployment name
Use the renderer-generated stable name by default:
```bash
PROJECT_NAME="$(python3 "$SKILL_DIR/scripts/render_chat_html.py" --current --print-project-name)"
```
Override it only when the user explicitly provides a project name. Existing PreviewShip project names are deployment identities; using one updates that project.
### 6. Deploy and return the URL
```bash
previewship deploy /tmp/claude-code-chat-share/index.html -n "$PROJECT_NAME" --json
# or
npx -y previewship deploy /tmp/claude-code-chat-share/index.html -n "$PROJECT_NAME" --json
```
Return the public `previewUrl`, the local HTML path, and any fidelity limitations.
## What the Renderer Parses
- `type=user` with string `message.content` -> visible user bubble.
- `type=user` with `tool_result` content -> tool result status only, no raw output. Safe status snippets such as `Received 19.8KB (200 OK)` may be extracted.
- `type=assistant` with `message.content[].type=text` -> visible assistant Markdown.
- `type=assistant` with `tool_use` -> collapsed processing summary, attached to the preceding assistant progress message when present; otherwise shown before the next visible assistant answer.
- `type=assistant` with `thinking` -> hidden thinking summary row only, never the thinking text.
- `type=attachment` -> context card with filename/path only; attachment body is ignored.
- Ignored: `system`, `permission-mode`, `file-history-snapshot`, `last-prompt`, sidechain records, raw `toolUseResult`, and hidden settings/context records.
## Transcript JSON Shape
```json
{
"title": "Claude Code Chat",
"projectName": "claude-code-chat",
"messages": [
{
"role": "user",
"content": "用户消息",
"context": [{ "title": "src/App.tsx", "subtitle": "文件", "path": "/abs/path/src/App.tsx" }]
},
{
"role": "assistant",
"content": "助手 Markdown",
"tools": [{ "name": "Read", "summary": "src/App.tsx", "status": "completed", "result": "Received 2.1KB (200 OK)" }]
}
]
}
```
Only include fields that were visible or safe to summarize. Add `"visible": false` to omit a message from rendering.
## Error Handling
- No Claude Code sessions found: ask the user to provide `-Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 20ac27a
npx skills add blockdancez/PreviewShip --skill share-codex-chat -a codex -g --yes npx skills add blockdancez/PreviewShip --skill share-codex-chat -a codex --yes npx skills add blockdancez/PreviewShip --skill share-claude-code-chat -a codex -g --yes npx skills add blockdancez/PreviewShip --skill share-claude-code-chat -a codex --yes npm install && npm run dev
git clone https://github.com/blockdancez/PreviewShip git -C PreviewShip checkout 20ac27aa25af
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 20ac27aa25af only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
| Codex | Mentioned in its text, not tested | Skills for Codex · About Codex |
| GitHub Copilot | Mentioned in its text, not tested | Skills for GitHub Copilot · About GitHub Copilot |
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
| Windsurf | Mentioned in its text, not tested | Skills for Windsurf · About Windsurf |
Audit history
Every audit, every source change
- !CAUTION B 80 / 100
first audit · source
20ac27aa25af
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/blockdancez/previewship/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →why20261/xiaohongshu-performance-review
获取实时小红书社媒数据表现,包括笔记、评论、互动数据等,根据数据进行分析和评估,输出复盘内容表现,统一指标口径,提出可检验的下一步内容策略。支持四大能力:(1) 关键词搜索笔记/视频,可按点赞数、评论数、收藏数、发布时间、内容类型筛选排序;(2) 博主作品抓取,按主页链接获取博主的互动数据(粉丝量、点赞量或收藏量等)或公开作品列表;(3) 笔记(视频)详情,获取详情数据及互动数据等,分析笔记的市场表现;(4)…
egonex-ai/understand-anything
Use when you need to generate an onboarding guide for new team members joining a project
egonex-ai/understand-anything
Use when you need a deep-dive explanation of a specific file, function, or module in the codebase
egonex-ai/understand-anything
Extract business domain knowledge from a codebase and generate an interactive domain flow graph. Works standalone (lightweight scan) or derives from an existing /understand knowledge graph.
egonex-ai/understand-anything
Launch the interactive web dashboard to visualize a codebase's knowledge graph
egonex-ai/understand-anything
Use when you need to ask questions about a codebase or understand code using a knowledge graph
Add this badge to your README
[](https://modelsatlas.com/skills/blockdancez/previewship/)
<a href="https://modelsatlas.com/skills/blockdancez/previewship/"><img src="https://modelsatlas.com/skills/blockdancez/previewship/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about PreviewShip
What does the PreviewShip skill do?
Is PreviewShip safe to install?
What can PreviewShip access on my machine?
Which assistants does PreviewShip work with?
How current is this page?
Sources
- github.com/blockdancez/PreviewShip — the audited source at commit 20ac27aa25af and every finding aboveObserved · 12 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the PreviewShip skill do?
- Is PreviewShip safe to install?
- What can PreviewShip access on my machine?