auto-page-sync

auto-page-sync is a skill for Claude Code, Codex from kennyzir/7deer_skills. It costs 53 tokens per session (2,688 once invoked), scanned A, original, MIT.

An automated content pipeline that turns Markdown or JSON files in a code repository into website pages and updates them through scheduled GitHub Actions, GitHub’s automation service.

In plain words
What is it for?
Use it to build report pages, blog listings and articles, changelog timelines, or updated landing-page sections from repository content, with scheduled deployment.
Why use it?
It removes repeated manual copying of reports, articles, changelogs, or landing-page content and helps keep published pages current.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build report pages, blog listings and articles, changelog timelines, or updated landing-page sections from repository content, with scheduled deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kennyzir/7deer_skills/auto-page-sync
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kennyzir/7deer_skills --skill auto-page-sync
Clone the repo
git clone --depth 1 https://github.com/kennyzir/7deer_skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for auto-page-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/kennyzir/7deer_skills/auto-page-sync/github.svg)](https://agentmods.dev/skills/kennyzir/7deer_skills/auto-page-sync)
Your own site
<a href="https://agentmods.dev/skills/kennyzir/7deer_skills/auto-page-sync"><img src="https://agentmods.dev/badge/skills/kennyzir/7deer_skills/auto-page-sync/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.

agentmods 80×15 button for auto-page-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/kennyzir/7deer_skills/auto-page-sync"><img src="https://agentmods.dev/badge/skills/kennyzir/7deer_skills/auto-page-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,688 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.02688
Opus 5 $0.00026 $0.01344
Sonnet 5 $0.00011 $0.00538
Haiku 4.5 $0.00005 $0.00269

Measured 3d ago against content hash 37cf66dd1a26, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

auto-page-sync scanned grade A with 0 findings 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (resources/rebuild_index.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

auto-page-sync/SKILL.md · 287 lines

How it starts

The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Auto Page Sync — 仓库内容自动同步到前端页面

将仓库中的 Markdown / JSON 内容自动同步到前端项目,生成对应页面,并通过 GitHub Actions 定时更新,确保 Google SEO 内容新鲜度。

When This Skill Applies

  • 当用户说「把仓库的 XX 目录同步到网站」时
  • 当用户说「每天自动更新页面内容」时
  • 当用户需要把 Markdown 报告、博客文章、Changelog 展示到前端时
  • 当用户提到「SEO 内容新鲜度」「定时更新」「自动部署」时
  • 当用户需要配置 GitHub Actions 定时同步内容到前端时

核心价值

手动更新网站内容既耗时又容易遗忘。这个 Skill 让你:

  • 只管往仓库写 Markdown,前端页面自动生成
  • GitHub Actions 定时拉取,零人工干预
  • 每次更新自动触发部署,Google 爬虫看到的永远是最新内容
  • 支持多种页面形态,一套机制复用所有项目

Instructions

Step 1: 分析内容源

  1. 读取用户指定的仓库目录结构
  2. 识别内容格式(Markdown、JSON、YAML)
  3. 分析内容组织方式(按日期、按分类、单文件)
  4. 确定元数据提取规则(标题、日期、标签等)
# 典型的内容源结构
daily-reports/
├── 2026-04-10/
│   ├── morning-report.md
│   └── youtube-report.md
├── 2026-04-11/
│   ├── morning-report.md
│   └── youtube-report.md

# 或者博客结构
blog/
├── 2026-04-10-my-first-post.md
├── 2026-04-11-another-post.md

Step 2: 选择页面模式

根据内容类型选择合适的模式:

模式 适用场景 路由结构 特点
A: 日报型 每日报告、周报 /reports/[date] 日期导航 + Tab 切换
B: 博客型 文章、教程 /blog/[slug] 列表页 + 分类筛选
C: 动态区块型 Landing Page 数据 更新现有页面区块 无新路由
D: Changelog 型 更新日志 /changelog 单页时间线

Step 3: 创建静态数据管道

将内容文件复制到前端项目的 public/data/ 目录,并生成索引文件。

目标目录结构:

public/data/{content-type}/
├── index.json          # 索引文件
├── 2026-04-10/
│   ├── report-a.md
│   └── report-b.md
└── 2026-04-11/
    ├── report-a.md
    └── report-b.md

index.json 标准格式:

{
  "dates": ["2026-04-11", "2026-04-10"],
  "latest": "2026-04-11",
  "items": {
    "2026-04-11": [
      {
        "slug": "unique-identifier",
        "title": "显示标题",
        "icon": "🎮",
        "filename": "source-file.md",
        "description": "可选摘要",
        "tags": ["可选标签"]
      }
    ]
  }
}

Step 4: 生成前端页面

根据目标框架生成页面代码。以下以 Next.js App Router 为例:

必须遵循的原则:

  • 读取项目现有的 layout.tsxglobals.css、组件库,匹配设计风格
  • 使用项目已安装的依赖(如 react-markdownremark-gfm
  • 响应式设计,移动端友好
  • 支持暗色模式(如果项目已有)

日报型页面结构(模式 A):

app/reports/page.tsx              # 重定向到最新日期
app/reports/[date]/page.tsx       # 日期详情页
components/report-viewer.tsx      # 内容渲染组件

Read the full file on GitHub · 287 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 3d ago Changed · +1 lines 37cf66dd1a26
  2. 12d ago First seen · 286 lines · 53 tokens per session scan A ca40f753498d

Subscribe to this mod's changes

auto-page-sync is a skill published in the GitHub repository kennyzir/7deer_skills (312 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 2,688 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.