Command Palette

Search for a command to run...

UnylyUnyly

Python上下文管理器重定向Print输出到文件 vs configure

Side-by-side comparison of two Claude Agent Skills. Pick the right one for Claude Code or Claude Desktop.

Python上下文管理器重定向Print输出到文件

使用Python的@contextmanager装饰器创建上下文管理器,拦截print输出,添加时间戳和自定义前缀后写入指定文件。

configure

Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…

Comparison

FeaturePython上下文管理器重定向Print输出到文件configure
Bundled scriptsnono
Allowed toolsany4
Install scopepersonalpersonal
Categoryproductivityproductivity
Verified—
License—Apache-2.0
AuthorECNU-ICALKAnthropic
RepoECNU-ICALK/AutoSkillanthropics/claude-plugins-official

When to pick Python上下文管理器重定向Print输出到文件

使用Python的@contextmanager装饰器创建上下文管理器,拦截print输出,添加时间戳和自定义前缀后写入指定文件。

When to pick configure

Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how do I set this up" or "who can reach me," or wants to check channel status.

Looking for something else? Browse all skills.