Agent Skillsn0an/VivaDicta › stop-logs-device

stop-logs-device

GitHub

终止设备日志捕获会话,定位最新日志文件并生成摘要报告(路径、大小、行数等)。适用于iOS设备调试中的日志管理流程。

.agents/skills/stop-logs-device/SKILL.md n0an/VivaDicta

Trigger Scenarios

需要停止正在运行的设备日志采集 获取最近一次设备日志文件的统计信息

Install

npx skills add n0an/VivaDicta --skill stop-logs-device -g -y
More Options

Non-standard path

npx skills add https://github.com/n0an/VivaDicta/tree/main/.agents/skills/stop-logs-device -g -y

Use without installing

npx skills use n0an/VivaDicta@stop-logs-device

指定 Agent (Claude Code)

npx skills add n0an/VivaDicta --skill stop-logs-device -a claude-code -g -y

安装 repo 全部 skill

npx skills add n0an/VivaDicta --all -g -y

预览 repo 内 skill

npx skills add n0an/VivaDicta --list

SKILL.md

Frontmatter
{
    "name": "stop-logs-device",
    "description": "Stop the active device log capture session and report the log file location",
    "disable-model-invocation": true
}

stop-logs-device

Task

Stop the active device print-log capture session and summarize the newest device log file.

Instructions

  1. Stop the active devicectl console session. If it is running in an interactive shell session, send Ctrl+C to that session or otherwise terminate the active process.
  2. Find the newest device print log:
    ls -t logs/device-*.log 2>/dev/null | head -1
    
  3. Summarize the file:
    • path
    • size
    • modified time
    • line count
    • short tail preview

Helpful Commands

LOGFILE=$(ls -t logs/device-*.log 2>/dev/null | head -1)

du -h "$LOGFILE"
wc -l "$LOGFILE"
tail -10 "$LOGFILE"
grep -i "error" "$LOGFILE"

Notes

  • If no matching file exists, report that clearly.
  • The expected companion workflow is start-logs-device followed by stop-logs-device.
  • This skill does not delete logs; it only stops the live stream and summarizes the latest file.

Related

Version History

  • c5601d4 Current 2026-07-25 08:16

Same Skill Collection

.agents/skills/analyze-unrecognized-apps/SKILL.md
.agents/skills/app-container-group/SKILL.md
.agents/skills/app-container/SKILL.md
.agents/skills/asc-aso-audit/SKILL.md
.agents/skills/asc-aso-rankings/SKILL.md
.agents/skills/asc-localize-metadata/SKILL.md
.agents/skills/asc-metadata-sync/SKILL.md
.agents/skills/asc-release-flow/SKILL.md
.agents/skills/asc-whats-new-writer/SKILL.md
.agents/skills/axe-simulator-control/SKILL.md
.agents/skills/coverage-report/SKILL.md
.agents/skills/diagram/SKILL.md
.agents/skills/ios-log-capture/SKILL.md
.agents/skills/ios-simulator-skill/SKILL.md
.agents/skills/krankie-audit/SKILL.md
.agents/skills/krankie-rankings/SKILL.md
.agents/skills/loc-report/SKILL.md
.agents/skills/pr/SKILL.md
.agents/skills/prcdx/SKILL.md
.agents/skills/release-prepare/SKILL.md
.agents/skills/screenshot/SKILL.md
.agents/skills/simulator-screenshot-time/SKILL.md
.agents/skills/spm-build-analysis/SKILL.md
.agents/skills/start-logs-device-structured/SKILL.md
.agents/skills/start-logs-device/SKILL.md
.agents/skills/start-logs/SKILL.md
.agents/skills/stop-logs-device-structured/SKILL.md
.agents/skills/stop-logs/SKILL.md
.agents/skills/swift-concurrency-pro/SKILL.md
.agents/skills/swift-testing-pro/SKILL.md
.agents/skills/swiftdata-pro/SKILL.md
.agents/skills/swiftui-liquid-glass/SKILL.md
.agents/skills/swiftui-performance-audit/SKILL.md
.agents/skills/swiftui-pro/SKILL.md
.agents/skills/xcode-build-benchmark/SKILL.md
.agents/skills/xcode-build-fixer/SKILL.md
.agents/skills/xcode-build-orchestrator/SKILL.md
.agents/skills/xcode-compilation-analyzer/SKILL.md
.agents/skills/xcode-project-analyzer/SKILL.md
.agents/skills/xcodebuild-testing/SKILL.md
.agents/skills/commit-push/SKILL.md

Metadata

Files
0
Version
fbf9c91
Hash
d7f82fc1
Indexed
2026-07-25 08:16

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 10:35
浙ICP备14020137号-1 $Гость$