html-artifact-read

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

HTML artifact read

HTML制品读取

Fetch HTML the user already pointed at. Do not render it in a browser tool.
Theo's version targeted
postplan.dev
. You do not have PostPlan. This skill is the same trigger for any artifact URL you paste.
获取用户指定的HTML内容。请勿使用浏览器工具渲染它。
Theo的版本针对
postplan.dev
。你没有PostPlan。此技能适用于你粘贴的任何制品URL触发。

Fetch

获取步骤

  1. If the path is local (
    file://
    , an
    artifacts/
    directory, or a repo path), read the file. Do not curl it.
  2. If it is
    http://
    or
    https://
    :
bash
undefined
  1. 如果路径是本地路径(
    file://
    artifacts/
    目录或仓库路径),直接读取文件。不要使用curl命令。
  2. 如果是
    http://
    https://
    :
bash
undefined

strip a trailing slash, then try /raw if the first body is a viewer shell

strip a trailing slash, then try /raw if the first body is a viewer shell

url=${1%/} curl -fsSL "$url"

If the body is clearly a host wrapper rather than the document, retry
`"$url/raw"` once. If that 404s, stop and report both status codes.

3. Do not use web search or a browser to retrieve it.
4. After reading, answer from the document. Do not rewrite it unless asked.
url=${1%/} curl -fsSL "$url"

如果返回内容明显是宿主包装器而非文档本身,重试一次`"$url/raw"`。如果该请求返回404,则停止操作并报告两个状态码。

3. 请勿使用网页搜索或浏览器来获取内容。
4. 读取完成后,根据文档内容作答。除非被要求,否则请勿重写文档。