Skip to content
Back to skills

Agent

ASecurity

派遣任务给 opencode agent 执行,自动记录处理过程到独立日志文件

  • 225 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 4, 2026
ai-agentsbashnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill agent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-agent/badge)](https://www.skillsdirectory.com/skills/neversight-agent)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent
description: 派遣任务给 opencode agent 执行,自动记录处理过程到独立日志文件
---

# opencode-agent

使用 `index.js` 将任务派遣给 opencode agent 执行,每个任务自动生成独立的日志文件,避免冲突。

## When to use

- 需要让 opencode agent 执行任务
- 需要记录 AI 的完整处理过程
- 并行派遣多个 agent 任务

## How to use

```bash
node agent/index.js "<任务描述>"
```

示例:
```bash
node agent/index.js "查询今日金价"
node agent/index.js "分析项目代码结构"
node agent/index.js "创建一个 hello.txt 文件"
```

## Output

日志文件自动保存到工作目录的 `logs/` 文件夹:

```
agent/logs/
├── 2026-03-04_15-10-23.md
├── 2026-03-04_15-12-45.md
└── ...
```

文件名格式:`YYYY-MM-DD_HH-mm-ss.md`

每个任务生成独立文件,多任务并行不会冲突。

## Files

| 文件/目录 | 说明 |
|-----------|------|
| `agent/index.mjs` | 主脚本 |
| `agent/SKILL.md` | Skill 定义文件 |
| `logs/` | 日志输出目录(生成在调用目录) |

## Requirements

- Node.js 环境
- 已安装 `opencode` CLI
- 无需安装额外 npm 包

Files in this skill

  • SKILL.md1.2 KB
  • description_ar.txt172 B
  • description_cn.txt101 B
  • description_de.txt163 B
  • description_en.txt86 B
  • description_es.txt155 B
  • description_fr.txt152 B
  • description_it.txt142 B
  • description_ja.txt165 B
  • description_ko.txt143 B
  • description_ru.txt229 B
  • description_tw.txt107 B
  • stats.json68 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.