AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

New Agent

skill-enbiyagoral-claude-new-agent · by enbiyagoral

>

No reviews yet
0 installs
30 views
0.0% view→install

Install

$ agentstack add skill-enbiyagoral-claude-new-agent

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-enbiyagoral-claude-new-agent)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of New Agent? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

New agent scaffold

Target agent name: $ARGUMENTS

Step 1 — Parse intent

From $ARGUMENTS, extract:

  • agent-name: lowercase, hyphen-separated (e.g., tf-drift-detector)
  • purpose: what the agent does (if not given, ask one question: "What should this agent do?")

If agent-name is missing, stop and ask.

Step 2 — Determine agent type

Ask the user (or infer from purpose):

Type A — Claude Code subagent (.claude/agents/.md) Use when: background task, context isolation, specialized tool access, reusable across sessions. Example: code-reviewer, security-scanner, doc-generator

Type B — Autonomous agent (full folder structure) Use when: scheduled/heartbeat operation, multi-skill coordination, has its own memory/KPIs, runs independently. Example: pipeline-monitor, cost-tracker, drift-detector

If unclear, default to Type A (simpler, more common in Claude Code).

Step 3 — Check for conflicts

Glob .claude/agents/ — if an agent with the same name exists, stop and tell the user.

Step 4a — Create Type A agent (Claude Code subagent)

Create .claude/agents/.md:

---
name: 
description: >
  
tools: 
model: sonnet
---

# 

You are a . 

## Mission

## When to use

- 
- 

## When NOT to use

- 
- 

## Process

1.
2.
3.

## Output format

## Boundaries

- NEVER 
- NEVER 
- Always escalate to human when: 

Step 4b — Create Type B agent (autonomous, full folder)

Phase 1 — Tur 1: Mission + context (2 soru, tek mesaj)

Before I build the agent, let's start with two things:

1. Mission: What does this agent optimize for? (one sentence — be specific)
   Bad:  "monitor infrastructure"
   Good: "detect Terraform drift before it causes production incidents"

2. Context (optional but helpful): What tools, systems, or data sources is it working with?
   If none apply or it's not tool-specific, just describe the domain.
   Example: "Terraform + AWS, reads plan output files"
   Example: "reads Slack incident channel messages"
   Example: "no specific tools — reads markdown status reports"

Wait for the answer. Then proceed to Tur 2.


Phase 1 — Tur 2: Shaped questions based on Tur 1

Read the mission and context carefully. Ask targeted follow-up questions shaped by what you learned — not a generic list.

How to shape the questions:

Before writing a single question, reason through these four things based on the mission + context:

  1. What is being tracked? — Is this about rates, counts, durations, costs, quality scores, states? The KPI format follows from this.
  2. What does the agent "see"? — What raw material does it consume? Files it reads, APIs it calls, logs it parses, messages it receives. The input contract follows from this.
  3. What does the agent "do"? — Is it detecting anomalies, summarizing reports, generating artefacts, alerting on thresholds? The skill list and decision tree follow from this.
  4. What could go wrong? — Where might it take an irreversible or high-impact action? The boundaries and escalation rules follow from this.

The context (tools, systems) is just evidence — use it to sharpen your reasoning, not as a lookup table. Two agents using the same tool can have completely different KPIs, skills, and risk profiles depending on their mission. Let the mission drive the shape; let the context add precision.

Then ask only what you can't infer. Always include these five:

1. Goals & KPIs — propose 2–3 specific KPI candidates based on the mission, ask user to confirm or replace:

Based on your mission, here are likely KPIs — confirm, adjust, or replace:
  [inferred KPI 1] | Baseline: ? | Target: ?
  [inferred KPI 2] | Baseline: ? | Target: ?
Both baseline AND target required. Write "unknown" if baseline isn't measured yet.

2. Skills — propose 1–2 skill names based on the mission, ask which goals they serve:

Likely skills for this agent:
  [inferred skill 1] — serves [inferred goal]?
  [inferred skill 2] — serves [inferred goal]?
Confirm, rename, or add to this list.

3. Schedule — suggest a default based on the mission cadence, then ask to confirm:

  • "detect/alert" type → daily
  • "review/summarize" type → weekly
  • "on-change" type → on-demand

4. Inputs — propose based on context, ask to confirm:

Expected inputs based on what you described:
  [inferred input source]
Does this match? Anything else it should read?

5. Escalation — ask with a concrete example relevant to the mission:

When should this agent stop and ask you directly?
Example for this type of agent: "[mission-relevant escalation scenario]"
Give at least 2 conditions.

Only ask about production exposure if the mission or context implies write access or destructive potential. Skip it for read-only agents.

Wait for answers. Do not generate files until Tur 2 answers are received.


Phase 1 — Validation before generating

KPI validation:

  • If any goal is missing baseline or target → stop and ask specifically for that goal's missing value
  • Do not accept vague targets like "improve" or "reduce" — require a number or an explicit "unknown"

Skill-to-goal mapping:

  • Every skill must map to at least one goal
  • If a skill doesn't map to any goal → ask "Which goal does `` serve, or should we add a goal for it?"
  • Build the AGENT.md Skills table only after all mappings are confirmed

Decision tree generation (HEARTBEAT.md):

  • For each skill, derive the trigger condition from Tur 2 answers
  • Pattern: "If [state condition from inputs] → run SKILL_NAME"
  • If trigger is unclear → ask "When exactly should `` run?"
  • Do not leave decision tree entries as placeholders

Auto-add hard boundaries when applicable:

Don't use a checklist — reason from the mission and context:

  • Does the agent's "doing" (step 3 above) involve writing, applying, deleting, deploying, or triggering something? → Add a boundary that prevents it from doing that without human approval.
  • Does the agent have access to production systems, sensitive data, or shared state? → Add a boundary scoped to that specific risk.
  • Could the agent's output be consumed by another system automatically? → Add a boundary around unreviewed output propagation.

Example reasoning (not a template to copy): "This agent reads CI logs and could theoretically re-trigger a pipeline — so: NEVER trigger pipeline runs without human confirmation." "This agent generates Terraform plans — NEVER run apply or destroy." "This agent only reads and summarizes — no write-access boundaries needed beyond the standard RULES.md defaults."

Merge inferred boundaries with any the user explicitly listed. If nothing risky is implied, state that and skip.

If user gives partial answers, state what you're inferring and ask for confirmation before generating.

Phase 2 — Create files

Create the following structure under .claude/agents//:

AGENT.md
---
name: 
type: autonomous
---

# 

## Mission

## Goals & KPIs

| Goal | KPI | Baseline | Target |
|------|-----|----------|--------|
|  |  |  |  |
|  |  |  |  |

## Non-Goals

- 

## Skills

| Skill | File | Serves Goal |
|-------|------|-------------|
|  | skills/.md |  |

## Input Contract

- 

## Output Contract

- 

## What Success Looks Like

## What This Agent Should Never Do

- 
- 
- 
HEARTBEAT.md
#  heartbeat

## Schedule

## Each Cycle

1. **Read context** — 
2. **Assess state** — 
3. **Execute skill** — 
4. **Log to journal** — write dated entry to journal/ with findings

## Decision Tree

- If  → run 
- If  → run 
- If  → escalate to human

## Weekly Review

1. Gather data from outputs/ for the past 7 days
2. Score against KPI targets in AGENT.md
3. Analyze gaps
4. Update MEMORY.md with confirmed patterns
5. Log summary to journal/

## Escalation Rules

Escalate to human when:

- 
- 
MEMORY.md
#  memory

## What Works

## What Doesn't Work

## Patterns Noticed

## Process Improvements

## Last Updated

—
RULES.md
#  rules

## This agent CAN

- Read from: journal/, knowledge/, data/imports/
- Write outputs to: outputs/ (dated files only)
- Update: MEMORY.md (in-place updates allowed)
- Log findings to: journal/
- Request human approval via journal entry

## This agent CANNOT

- Publish or send anything externally without human approval
- Modify files outside its own agent folder (except journal/)
- Write directly to knowledge/ — propose changes via journal entry
- Modify other agents' files

## Hand off to HUMAN when

- 
- 

## Hand off to ORCHESTRATOR when

- Task doesn't fit this agent's mission
- Output affects multiple agents

## Sync Safety

- All output files use date-prefix: YYYY-MM-DD_agent_desc.md
- MEMORY.md is the only file updated in-place
skills/_SKILL_TEMPLATE.md
# Skill template

## Purpose

## Serves Goals

## Inputs

## Process

1.
2.
3.

## Outputs

## Quality Bar

Create empty dirs:

  • data/imports/ with HOW_TO_EXPORT.md (brief note on how to drop data)
  • outputs/
  • journal/ with README.md:
# Journal

Dated log entries written by the agent each cycle.

Naming: `YYYY-MM-DD-.md`
Example: `2026-03-26-drift-detected.md`

One file per significant event or cycle. Do not edit entries after they are written.

Step 5 — Print summary

Created (Type B):
  .claude/agents//
    AGENT.md
    HEARTBEAT.md
    MEMORY.md
    RULES.md
    skills/_SKILL_TEMPLATE.md
    data/imports/HOW_TO_EXPORT.md
    outputs/
    journal/README.md

Next steps:
1. Add at least one real skill: /new-skill 
2. Run first cycle manually to verify the decision tree works

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.