agentleFS
cpodercpoder/claude-apple-plugin/skills/apple-news/SKILL.md

apple-news

Skill0 starsChanged 30 days agoMITView on GitHub

Apple News Publisher API reference for the apple plugin — channel info, sections, listing/reading articles, publishing or updating Apple News Format articles with HMAC authentication. Load for Apple News publishing tasks or news_* tools.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Delete: news_request DELETE /articles/{id}.

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Apple News Publisher API (tools news_*)

Auth: Authorization: HHMAC; key=<key_id>; signature=<base64 HMAC-SHA256>; date=<ISO 8601> where the canonical string is METHOD + URL + date (+ Content-Type + body for POST). The server signs each request from news.channel_id/key_id/key_secret (News Publisher → channel → API keys). Base https://news-api.apple.com.

Tools

  • news_channel → name, website, shareUrl, createdAt, quotas.
  • news_sections → section ids/names (needed to place an article; the default section is isDefault).
  • news_articles limit sort page_token from_date → data[]: id, title, state (PROCESSING, LIVE, PROCESSING_UPDATE, TAKEN_DOWN, FAILED_PROCESSING, DUPLICATE), isPreview, isSponsored, maturityRating, warnings, shareUrl, revision, createdAt/modifiedAt.
  • news_article article_id → full metadata incl. revision and processing warnings.
  • news_publish_article article={ANF JSON} metadata={"data": {"isPreview": true, "links": {"sections": ["https://news-api.apple.com/sections/<id>"]}}} creates; pass article_id + metadata.data.revision (current revision from news_article) to update. Images referenced as bundle://name must be added as extra multipart parts — not supported here; use absolute https:// URLs for images instead.
  • Delete: news_request DELETE /articles/{id}. Search: GET /channels/{id}/articles?... or GET /sections/{id}/articles.

Apple News Format minimum

{"version": "1.7", "identifier": "my-article-1", "title": "Title", "language": "fr",
 "layout": {"columns": 7, "width": 1024}, "components": [{"role": "title", "text": "Title"}, {"role": "body", "text": "Paragraph…", "format": "markdown"}],
 "componentTextStyles": {"default": {"fontName": "Helvetica", "fontSize": 18}}, "metadata": {"excerpt": "…", "authors": ["Name"]}}

Docs: apple_docs_index technology=applenewsapi, apple_news_format.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.