Contentful Automation
它能做什么
这个工具可以帮你管理 Contentful 内容系统(CMS)。你可以查看所有的空间(space),获取某个空间的详细信息,还可以重命名空间。
适用场景
- ✓当你想查看 Contentful 中的所有项目时。
- ✓当你需要了解某个具体项目的详细信息时。
- ✓当你想在 Contentful 中重命名某个项目时。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/contentful-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“列出我在 Contentful 中的所有空间,并告诉我它们的创建日期。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会连接到你的 Contentful 账户。它使用特定的命令来列出你的空间、获取某个空间的详细信息,或者更新它的名称。要进行修改,必须使用正确的空间版本号。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Contentful Automation
Manage your Contentful headless CMS spaces directly from Claude Code. List spaces, retrieve metadata, and update space configurations without leaving your terminal.
Toolkit docs: composio.dev/toolkits/contentful
Setup
- Add the Composio MCP server to your configuration:
https://rube.app/mcp - Connect your Contentful account when prompted. The agent will provide an authentication link. Ensure your access token has space management scopes.
Core Workflows
1. List All Spaces
Discover all Contentful spaces accessible to your authenticated account. This is typically the first operation since most other actions require a space_id.
Tool: CONTENTFUL_LIST_SPACES
Key parameters:
limit(1-1000) -- maximum number of spaces to return (default: 100)skip-- number of spaces to skip for paginationorder-- sort by field, e.g.,sys.createdAtor-sys.createdAtfor descending
Example prompt: "List all my Contentful spaces"
2. Get Space Details
Retrieve detailed metadata for a specific space including its current sys.version, which is required for updates.
Tool: CONTENTFUL_GET_SPACE
Key parameters:
space_id(required) -- the ID of the space to retrieve (alphanumeric, 1-64 chars)
Example prompt: "Get details for Contentful space abc123def"
3. Update Space Name
Update the name of a specific space. Requires the current version number for optimistic locking to prevent concurrent modification conflicts.
Tool: CONTENTFUL_UPDATE_SPACE
Key parameters:
space_id(required) -- ID of the space to updatename(required) -- new name for the space (1-255 chars)version(required) -- current space version fromsys.version(must be > 0)
Example prompt: "Rename Contentful space abc123def to 'Production Content Hub'"
4. Audit Space Inventory
Combine space listing and detail retrieval to audit your organization's Contentful spaces.
Tools: CONTENTFUL_LIST_SPACES then CONTENTFUL_GET_SPACE
Workflow:
- List all spaces to get IDs and names
- Fetch details for each space to get version info, creation dates, and metadata
Example prompt: "Audit all Contentful spaces -- list them with their creation dates and current versions"
Known Pitfalls
- Version conflicts on update:
CONTENTFUL_UPDATE_SPACErequires the latestsys.versionfromCONTENTFUL_GET_SPACE. If someone else modified the space between your read and write, the update will fail with a version conflict. Always fetch the space immediately before updating. - Pagination for many spaces:
CONTENTFUL_LIST_SPACESuseslimitandskipparameters. When you have many spaces, iterate by incrementingskipuntil no more results are returned to avoid missing spaces. - Scope limitations: These tools only manage space-level metadata (names). They cannot create or modify entries, content types, or assets within a space.
- Auth/permissions mismatch: Updates via
CONTENTFUL_UPDATE_SPACEwill fail if your token lacks space management scopes, even if reads viaCONTENTFUL_GET_SPACEsucceed. Verify your token has write permissions. - Space ID format: The
space_idmust match the pattern^[a-zA-Z0-9-_.]{1,64}$. Invalid characters will be rejected.
Quick Reference
| Tool Slug | Description |
|---|---|
CONTENTFUL_LIST_SPACES |
List all spaces accessible to your account |
CONTENTFUL_GET_SPACE |
Retrieve detailed metadata for a single space |
CONTENTFUL_UPDATE_SPACE |
Update the name of a space (requires version) |
Powered by Composio
常见问题
什么是 Contentful 中的空间(space)?
空间就像是你内容的容器。可以把它理解为一个独立的项目,你可以在里面整理文字、图片和其他信息。
我可以用这个工具创建或编辑内容吗?
不可以。这个工具只用于管理空间的常规设置,比如列出或重命名。它不处理内容本身(文字、图片等)。
为什么我的重命名操作失败了?
这可能是因为有其他人同时修改了空间的名称,或者你没有使用正确的版本号。工具需要最新的版本号,才能确保修改正确完成。
详情
作者的原始描述
Automate headless CMS operations in Contentful -- list spaces, retrieve space metadata, and update space configurations through the Composio Contentful integration.
热度
- GitHub 星标
- 77k
- 排名
- #1942
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。