← 返回 Skills 市场
65
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install fabricated-symbols
功能描述
Code calls functions, classes, or methods that don't exist — either on project types or on third-party library APIs.
使用说明 (SKILL.md)
fabricated-symbols
The agent invokes a symbol that isn't defined. Most often this is a plausible-looking method on a third-party object, or a utility "I'm sure we have one of those" that the project actually lacks.
Symptoms
- Generated code calls
someLibrary.convenientHelper(...)where the library has no such method. - Invented method signatures on framework objects (wrong argument order, wrong return type).
- References to utility functions the project doesn't have.
- Runtime
AttributeError/TypeError: X is not a function/undefined is not a function.
What to do
- For every symbol you invoke on a third-party library, check the library's real API — docs, source, or type definitions — before writing code.
- For every symbol you invoke on a project type, grep the codebase to confirm it exists. Don't assume.
- If a helper is missing, either add it explicitly (and say you're adding it) or use what the project actually has.
- Prefer the library's documented API over clever-looking shortcuts. Invented methods often look like what the library "should" have.
- When refactoring, run the type-checker after every meaningful change. Invented methods sometimes type-check against
anybut fail at runtime.
安全使用建议
This is a low-risk, advisory skill: it only provides instructions about checking APIs, grepping the codebase, and running type-checkers. Before using it, confirm that the agent is allowed to read your repository and run build/type-check tools (the skill's guidance assumes that capability). Also review any automated code changes the agent proposes, since the instructions can lead the agent to add or modify project code — which is expected behavior but should be reviewed by you.
功能分析
Type: OpenClaw Skill
Name: fabricated-symbols
Version: 1.0.0
The skill bundle 'fabricated-symbols' is purely instructional documentation (SKILL.md) designed to prevent AI hallucinations. It provides guidance to the agent on verifying API calls and symbols against actual documentation and codebases to avoid runtime errors, with no executable code or malicious intent present.
能力评估
Purpose & Capability
Name/description match the instructions: guidance about invented methods and symbols in code. No unrelated env vars, binaries, or installs are requested.
Instruction Scope
SKILL.md tells the agent to check library docs/type definitions, grep the codebase, add missing helpers, and run a type-checker — all actions are directly related to preventing fabricated symbols. These steps imply reading the repository and optionally running local tooling, which is appropriate for the stated goal.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing will be written to disk by the skill itself.
Credentials
The skill declares no environment variables, credentials, or config paths. It does not request access to unrelated services or secrets.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent presence or modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fabricated-symbols - 安装完成后,直接呼叫该 Skill 的名称或使用
/fabricated-symbols触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the fabricated-symbols skill.
- Detects and describes code that calls non-existent functions, methods, or classes.
- Helps identify invented helper methods or API calls—especially on third-party libraries or project utilities.
- Lists common symptoms such as runtime errors (AttributeError, TypeError, or undefined function).
- Provides guidance for verifying the existence of symbols and avoiding reliance on imagined APIs.
元数据
常见问题
Fabricated Symbols 是什么?
Code calls functions, classes, or methods that don't exist — either on project types or on third-party library APIs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。
如何安装 Fabricated Symbols?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fabricated-symbols」即可一键安装,无需额外配置。
Fabricated Symbols 是免费的吗?
是的,Fabricated Symbols 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Fabricated Symbols 支持哪些平台?
Fabricated Symbols 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(macos, linux, windows)。
谁开发了 Fabricated Symbols?
由 mvogt99(@mvogt99)开发并维护,当前版本 v1.0.0。
推荐 Skills