agentleFS
OnourImpramOnourImpram/claude-code-for-social-scientists/.claude/skills/qualitative-coding-discipline/SKILL.md

qualitative-coding-discipline

Skill2 starsChanged 5 months agoApache-2.0View on GitHub

Use when coding interviews, focus groups, or open-ended responses with AI assistance, when a codebook needs building or auditing, when intercoder reliability must be computed, or when qualitative quotes need integrity checks before publication.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep codebook ownership with the researcher.

    line 22
  2. Distinctive:

    Use the tool as a second coder on segments the researcher has already coded, never as the first and only coder.

    line 23
  3. Distinctive:

    Keep a reflexivity log: every place where a tool suggestion changed the codebook or an interpretation, with the reason.

    line 26
  4. Distinctive:

    Every codebook change has a logged reason.

    line 44
  5. Distinctive:

    Before closing: the codebook version, agreement table, and quote integrity register are saved where the next session can find them, and any …

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Qualitative Coding Discipline

When to use

Use this skill when qualitative material is being coded and an AI tool participates in any part of it. The discipline keeps interpretive authority with the researcher while letting the tool earn its place as a second coder. It also applies retroactively, when an already coded dataset needs an audit before the findings are written up. It is not for anonymizing raw transcripts before coding begins; that is sensitive-data-anonymization-gate, and it is not for registering the analysis plan before coding starts; that is preregistration-analysis-plan-ledger.

Inputs

  • The data type and its consent scope: are participants' texts authorized for processing in an AI session, and in what anonymization state.
  • The methodology: thematic analysis, qualitative content analysis, grounded theory, or another named approach with its citation.
  • The existing codebook, when there is one.
  • The unit of coding: line, sentence, turn, or segment.

Workflow

  1. Confirm before any text enters the session that the material is anonymized and that the consent scope covers AI-assisted processing. This step blocks everything else.
  2. Keep codebook ownership with the researcher. The tool may propose candidate codes from a sample, and each proposal enters the codebook only with the researcher's wording and the researcher's definition.
  3. Use the tool as a second coder on segments the researcher has already coded, never as the first and only coder.
  4. Compare codings in an agreement table, discuss the disagreements explicitly, refine code definitions, and recompute agreement after refinement.
  5. Enforce quote integrity. Every quoted segment carries a source identifier, and a quote that cannot be traced to its transcript does not exist.
  6. Keep a reflexivity log: every place where a tool suggestion changed the codebook or an interpretation, with the reason.
  7. Hand the AI involvement record to ai-disclosure-auditor when the manuscript's disclosure statement is written.

Output

Return:

  • The codebook with definitions, inclusion rules, and example segments.
  • The agreement table and the disagreement resolutions.
  • The quote integrity register, quote to source identifier.
  • The reflexivity log.
  • An AI involvement summary ready for disclosure.
  • What to record at session end: the current codebook version, the agreement table, the quote integrity register, the reflexivity log entries added in this session, and a one-line note for the AI-use disclosure.

Verification

  • Zero quotes without a source identifier.
  • Agreement was computed on genuinely overlapping segments, and the segment count is stated.
  • Every codebook change has a logged reason.
  • Anonymization and consent scope were confirmed before the first segment was processed, and the confirmation is recorded.
  • The final interpretation is traceable to the researcher's decisions, with tool proposals marked as proposals.
  • Before closing: the codebook version, agreement table, and quote integrity register are saved where the next session can find them, and any anonymization gaps identified during coding have been routed to sensitive-data-anonymization-gate.

Safety

Identifiable transcripts never enter the session. The tool never serves as sole coder, and a finding supported only by tool-generated coding is not reportable. Where the data are clinical or otherwise sensitive, the ethics approval and the data protection assessment govern what may be processed, and this skill defers to them.

Example prompt

"On iki görüşmelik veri setimde tematik analiz yapıyorum, kod defterimi denetle ve yapay zekâyı ikinci kodlayıcı olarak nasıl kullanacağımı kur."

Expected smoke output:

  • A consent and anonymization confirmation step before any coding.
  • A second-coder protocol with an agreement table format.
  • A reflexivity log template and a quote integrity register.

Türkçe kullanım notu

Bu beceri, nitel kodlamada yorum yetkisini araştırmacıda tutar. Kod defterinin sahibi araştırmacıdır, araç ancak ikinci kodlayıcı olarak çalışır ve uyuşmazlıklar tartışılıp tanımlar yenilendikten sonra uyuşma yeniden hesaplanır. Kaynağı gösterilemeyen alıntı yok hükmündedir. Aracın yorumu değiştirdiği her nokta refleksivite günlüğüne işlenir. Ham dökümlerin anonimleştirilmesi sensitive-data-anonymization-gate becerisinin işidir. Anonimleştirme tamamlanmadan ve onam kapsamı doğrulanmadan hiçbir katılımcı metni oturuma alınamaz — bu adım takdir meselesi değil, iş akışının sert ön koşuludur.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.