← 返回 Skills 市场
archlab-space

Agentlens Blog Feed

作者 devasher · GitHub ↗ · v0.8.0 · MIT-0
cross-platform ✓ 安全检测通过
41
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install agentlens-blog-feed
功能描述
Use this skill when the user or another skill/prompt needs the latest AgentLens blogs that have not been seen before. It discovers newly published blogs from...
使用说明 (SKILL.md)

AgentLens Blog Feed

You surface newly published AgentLens blogs that the caller has not seen yet. This is the front half only: find new blogs, fetch their bodies, and return them. You do not decide what happens next — drafting posts, choosing a language, translating, or saving is the caller's job (a prompt or another skill).

De-duplication is your core responsibility: each blog must surface exactly once across runs. You track this in a local memory file you own.

Scope boundary

  • You do: discover new blogs, fetch bodies, de-duplicate via a memory file.
  • You do not: draft or rewrite content, choose or change the output language, save to any vault, or schedule yourself.
  • Never mark a blog processed unless the caller confirms it was successfully consumed.

Configuration

Name Default Meaning
MEMORY_PATH ~/agentlens-processed-blogs.json Local dedup memory (this skill owns it). Ask the user once where to store it; use the default if unspecified. Expand ~ to an absolute path before reading or writing.

Fixed values (not configurable):

  • WORKER_URL = https://agentlens-core.archlab.workers.dev
  • LIMIT = 100

GET /blogs is public — no token or Authorization header is required.

The API

  • List: GET {WORKER_URL}/blogs?limit=100{ items, total, offset, limit }. Each item has: id, title, summary, period_label, job_type, source_id, model, occurred_at (ISO string, nullable), generated_at (ISO string).
  • Detail: GET {WORKER_URL}/blogs/{id} → the blog plus body_markdown and references[]. Each reference has type, title, url, html_url. Fetch the default body — do not add any ?lang= parameter.

Workflow — Detect (read-only, never writes memory)

  1. Resolve MEMORY_PATH (ask the user, or use the default) and read it. Expected shape: { "processed_ids": ["\x3Cid>", ...], "last_generated_at": \x3Cms> }. If the file is missing or unparseable, treat it as { "processed_ids": [], "last_generated_at": 0 } and continue — do not crash. processed_ids is the source of truth for dedup; last_generated_at is only a fast lower-bound hint.
  2. Fetch the list: GET {WORKER_URL}/blogs?limit=100. On a non-200 or network error, report it and stop — nothing has been recorded, so the next run retries cleanly.
  3. Select new blogs: keep items whose id is not in processed_ids. Sort the survivors descending by generated_at (parse ISO → ms) so you process the newest first — the most recent blogs are the most timely and should be handled before older ones. (generated_at is always present; occurred_at may be null, so it is not used for sorting.) If none remain, report "no new blogs" and finish.
  4. Fetch each body (newest first): GET {WORKER_URL}/blogs/{id}. If the request is non-200, or body_markdown is empty/whitespace, skip that blog — do not return it and do not record it. It will retry next run (the stored body may not have propagated yet). Otherwise pick a source link from references[], preferring html_url, then url (may be absent).
  5. Return the new blogs to the caller: for each, id, title, summary, body_markdown, source_link, occurred_at, generated_at. Stop here — do not write memory yet.

Workflow — Commit (the only write step)

When the caller confirms a blog was successfully consumed, mark it processed:

  • Append its id to processed_ids.
  • Set last_generated_at = max(last_generated_at, generated_at_ms).
  • Write MEMORY_PATH atomically (write a temp file, then rename; a plain overwrite is acceptable if atomic rename is unavailable).

Order matters: the caller consumes the blog first, then you commit. Only commit blogs the caller confirms — anything that failed downstream stays out of processed_ids so it resurfaces next run.

Memory file

  • This skill is the sole owner of MEMORY_PATH.
  • processed_ids is the only dedup record — "already seen" cannot be inferred from anywhere else. Keep the file; never delete entries on its behalf.

Failure handling

  • List endpoint error: report and stop; retry next run.
  • Per-blog body error or empty body: skip that blog only; continue with the rest.
  • Never commit a blog the caller did not confirm as consumed.

Feedback

If the user expresses an unmet need or dissatisfaction with this skill, share the contribution link: https://github.com/archlab-space/open-skill-hub/issues Do not surface it during normal use.

安全使用建议
Before installing, understand that the skill will contact the public AgentLens API and maintain a local file, defaulting to ~/agentlens-processed-blogs.json, to remember which blog IDs were already handled. Choose a memory path you are comfortable with and review any separate caller skill that consumes, saves, translates, or publishes the returned blog content.
能力评估
Purpose & Capability
The stated purpose is narrow: discover public AgentLens blogs, fetch their bodies, return them, and leave summarizing, translating, saving, or posting to the caller.
Instruction Scope
The activation wording is somewhat broad because it allows use by another skill or prompt, but the operational scope stays limited to AgentLens blog retrieval and deduplication; there is no hidden downstream action.
Install Mechanism
The artifact contains only markdown files, no executable scripts, no declared dependencies, and no install-time commands.
Credentials
Network access is disclosed and limited to a single public AgentLens API host; no credentials, tokens, Authorization headers, or private data sources are requested.
Persistence & Privilege
Persistence is limited to one user-visible local JSON memory file for processed blog IDs, with commit only after caller confirmation and no scheduling or background worker behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agentlens-blog-feed
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agentlens-blog-feed 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.8.0
Version 0.8.0
元数据
Slug agentlens-blog-feed
版本 0.8.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Agentlens Blog Feed 是什么?

Use this skill when the user or another skill/prompt needs the latest AgentLens blogs that have not been seen before. It discovers newly published blogs from... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。

如何安装 Agentlens Blog Feed?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agentlens-blog-feed」即可一键安装,无需额外配置。

Agentlens Blog Feed 是免费的吗?

是的,Agentlens Blog Feed 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agentlens Blog Feed 支持哪些平台?

Agentlens Blog Feed 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agentlens Blog Feed?

由 devasher(@archlab-space)开发并维护,当前版本 v0.8.0。

💬 留言讨论