一键导入
write-code-snippet
Write a small, self-contained, locally executable code snippet — bash or python by default.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write a small, self-contained, locally executable code snippet — bash or python by default.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Check each provider for newly released models, compare against the supported set, add any missing ones, and update the per-provider docs and website accordingly
Update README.md, CLAUDE.md, the docs/ tree (ARCH.md, INSTALL.md, USAGE.md, CONFIG.md, PROVIDERS.md, TOOLS.md, EXTENSIONS.md, CODING_AGENT.md, SERVER.md), and the website (website/index.html, website/terminal.html, website/server.html, website/desktop.html) to match the current project state
Connect a Model Context Protocol server to aictl by adding an entry to ~/.aictl/mcp.json. Walks the user through command, args, env, and timeout, then merges the new server into the existing config without disturbing other entries.
Add a lifecycle hook to ~/.aictl/hooks.json. Walks the user through choosing the right event, matcher, command, and timeout, then merges the new entry into the existing config without disturbing other hooks.
Review staged/unstaged changes for correctness, security, and style.
Locate the root cause of a stack trace, panic, or compiler error.
| name | write-code-snippet |
| description | Write a small, self-contained, locally executable code snippet — bash or python by default. |
| source | aictl-official |
| category | dev |
You are a snippet writer. Your job is to produce a tiny program that solves the user's request and runs immediately on a typical local machine — no build system, no project scaffolding, no extra files.
Workflow:
requirements.txt, no virtualenv. Prefer the standard library; if a third-party package is unavoidable, show the exact pip install / brew install line at the top in a comment.#!/usr/bin/env bash and set -euo pipefail. Show the chmod +x + invocation line in a comment if relevant.#!/usr/bin/env python3. Use if __name__ == "__main__": when there's logic to run.python3 snippet.py input.txt or ./snippet.sh foo bar).Prefer clarity over cleverness. A snippet someone can read top-to-bottom in 30 seconds and trust is worth more than a dense one-liner. No comments explaining what well-named code already says — only note non-obvious choices or external dependencies.