본문으로 건너뛰기
cccskills
무료GitHub에 공개

agentic-session-debugger

Use when a Claude Code session loops, drifts from scope, claims a fix that CI rejects, hits context, PATH, or permission walls, or fails in a way another retry will not solve and a root cause diagnosis is needed instead.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Agentic Session Debugger

When to use

Use this skill when a Claude Code or agentic coding session behaves unreliably and the user needs root cause diagnosis rather than another attempt at the same command. It applies at any lifecycle stage, and the lesson it records belongs in the project's standing instructions. It is not for evaluating whether an agent's outputs are portable across tool environments, that is agent-portability-matrix, and it is not for getting an independent second diagnosis on a difficult failure, that is cross-agent-second-opinion.

Inputs

  • User goal.
  • Recent commands or actions.
  • Error messages.
  • Files or tools involved.
  • Current working directory.
  • Permission and environment constraints.
  • What changed just before the failure.

Workflow

  1. Restate the intended outcome.
  2. Identify the failure class, tool, knowledge, communication, permission, environment, or context.
  3. Capture exact evidence from logs, errors, tests, or terminal output.
  4. Check scope drift, repeated loops, hidden state, stale context, and conflicting instructions.
  5. Check environment issues, including PATH, shell, dependency version, working directory, and permissions.
  6. Reduce the problem to the smallest reproducible step.
  7. Propose the smallest correction and a verification command.
  8. Record the lesson if the failure pattern should not recur.

Output

Return:

  • Intended outcome.
  • Failure class.
  • Evidence.
  • Root cause hypothesis.
  • Minimal reproduction.
  • Fix plan.
  • Verification step.
  • Residual risk.
  • What to record at session end: the failure class, the root cause hypothesis, the fix applied, and the reusable rule added to the project's standing instructions.

Verification

  • The diagnosis cites actual evidence, not only model intuition.
  • The smallest reproducible case is identified or the reason it cannot be reproduced is stated.
  • Permission failures are not solved by destructive commands.
  • The fix has a clear pass or fail check.
  • Repeated session errors are converted into a reusable rule.
  • Before closing: the fix has been verified with a concrete pass/fail check, and if the failure pattern involves cross-tool or cross-environment behavior, agent-portability-matrix or cross-agent-second-opinion has been noted as the next step.

Safety

Do not run destructive commands unless the user explicitly requested them and the target path is verified. Do not print secrets from logs. Redact tokens, passwords, private paths, and personal identifiers.

Example prompt

"Claude Code keeps looping on a failing validator and says the file is fixed, but CI still fails. Diagnose the session."

Expected smoke output:

  • Failure class, evidence, minimal reproduction, likely hidden-state or stale-assumption issue.
  • A concrete verification command and a smaller next fix.

Türkçe kullanım notu

Bu beceri, aksayan bir Claude Code oturumunu aynı komutu yeniden denemek yerine kök nedenden teşhis eder. Bozulma sınıfı belirlenir, kanıt toplanır, sorun en küçük tekrarlanabilir adıma indirilir ve en küçük düzeltme doğrulama komutuyla birlikte önerilir. Tekrarlayan hata kalıcı bir kurala dönüştürülür, yıkıcı komutlar teşhisin parçası olamaz.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when a complete research workflow — its instructions, skills, data boundaries, and tool connections — must be assessed for portability across AI agents or environments, so each component is explicitly mapped before migration rather than assumed to transfer.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OnourImpram/claude-code-for-social-scientists22026년 9월 6일 업데이트

Use when AI contribution metadata must match the actual workflow, when model alias and dated identifiers need auditing, when verified and fabricated citation counts feed a release decision, or when a venue's AI disclosure statement needs evidence behind it.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OnourImpram/claude-code-for-social-scientists22026년 9월 6일 업데이트

Use when a draft in Turkish, English, or both reads as AI-generated and needs revision that removes machine writing patterns and translation calques while preserving meaning, citations, statistics, and the author's voice.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OnourImpram/claude-code-for-social-scientists22026년 9월 6일 업데이트

Use when a reference list needs APA 7 cleanup, when DOIs must be confirmed real against Crossref or PubMed, when the user asks whether AI-suggested citations actually exist, or when a manuscript needs a citation hygiene pass before submission or defense.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OnourImpram/claude-code-for-social-scientists22026년 9월 6일 업데이트

Use when authorship order, CRediT contribution roles, or AI-assistance attribution must be recorded transparently for a manuscript, when an author dispute needs an evidence trail, or before a contributorship statement is required at submission; this skill maintains the human-attribution ledger of who contributed what and in which role (authorship order, CRediT taxonomy, revision responsibilities), which is distinct from the disclosure-metadata audit owned by ai-disclosure-auditor.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OnourImpram/claude-code-for-social-scientists22026년 9월 6일 업데이트

Use when paired tr.md and en.md files need a parity verdict, when titles, frontmatter, headings, or DOI sets may have drifted between languages, or when a bilingual document is approaching release and its translation coverage needs an audit.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OnourImpram/claude-code-for-social-scientists22026년 9월 6일 업데이트

OnourImpram의 스킬 모두 보기

이 스킬의 문제 신고