Skip to content
Agentmart
Submit a tool

agentic-agent-turn-loop

Ajan tur döngüsü, max_turns, durdurma koşulları ve SIGINT ile iptali tanımlarken kullan.

Skill by caglarkc

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/caglarkc-agentic-agent-turn-loop

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Ajan tur döngüsü, max_turns, durdurma koşulları ve SIGINT ile iptali tanımlarken kullan.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agentic-agent-turn-loop

What's inside

Skill name
agentic-agent-turn-loop
Description
Ajan tur döngüsü, max_turns, durdurma koşulları ve SIGINT ile iptali tanımlarken kullan.
License
MIT
Instructions
42 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Amaç

**Tur yaşam döngüsü**: kullanıcı/assistant/tool mesajları ile ilerleme; model **final metin** veya **tool_calls** üretir. **`max_turns`** üst sınırı aşılırsa dur ve kullanıcıya bildir. **Sonsuz döngü önleme**: aynı tool aynı arg ile tekrar → eşik veya kullanıcıya sor. **SIGINT**: mevcut LLM stream ve tool iptal edilir, tutarlı mesaj.

## Kapsam

### Dahil

- “Final answer” vs tool döngüsü netliği.
- Kullanıcı ara müdahalesi (iptal sonrası yeni girdi).

### Hariç

- Çoklu paralel ajan worker (ayrı tasarım).

## Kurallar

- `max_turns` yapılandırması `agentic-config-layers` ile okunur.
- Prompt injection savunması `agentic-prompt-injection-guardrails` ile birlikte düşünülür.
- Her tur sonunda isteğe bağlı hook `Stop` (proje kararı, Pywen desenine benzer).

## Kontrol listesi

- [ ] max_turns=0 veya negatif doğrulanmış mı?
- [ ] İptal sonrası kaynak sızıntısı (subprocess) temizleniyor mu?
- [ ] Tool hata sonucu modele geri besleniyor mu?

## Hata ve geri dönüş

| Tipik sorun | Kontrol | Sonraki adım |
|-------------|---------|--------------|
| Sonsuz tool ping-pong | Tekrarlayan çağrı sayacı | Kullanıcıya özet + dur |
| Asılı stream | Timeout | Read timeout artır veya iptal |

## İlgili belgeler ve skill'ler

- `../documantations/ARCHITECTURE_AGENTIC_CLI.md`
- `../agentic-agent-tool-call-parse/SKILL.md`
- `../agentic-prompt-injection-guardrails/SKILL.md`
- `../agentic-cli-repl-vs-once/SKILL.md`

From caglarkc/sentinel-coming, MIT.

More from caglarkc/sentinel-coming

Signals

Stars
2
Forks
2
Open issues
0
Last commit (this folder)
Apr 4, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from caglarkc

Cite this page

agentic-agent-turn-loop skill. Agent Mart. https://agentmart.dev/skills/caglarkc-agentic-agent-turn-loop (last updated 2026-10-24)