본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

chain-of-density

killerapp 제작

PDF & Documents
1.2kclawskills.sh가 보고한 다운로드 수
1스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Iteratively densify text summaries using Chain-of-Density technique.

설명

이 스킬이 하는 일

Chain-of-Density (CoD) is an iterative summarization method from a 2023 research paper. It compresses text through 5 passes, each identifying missing entities from the source and injecting them into the summary while holding word count constant. The result is a fixed-length summary that grows progressively more specific with each iteration.

Unlike one-shot summarization, CoD forces entity accumulation across iterations, so the final summary contains more named specifics at the same length rather than generic paraphrase.

사용 시점

  • Condensing verbose API documentation into a fixed-length reference
  • Compressing long requirements documents for executive review
  • Summarizing research papers while preserving key terminology
  • Reducing overlong agent skill files to meet length limits
  • Creating dense briefings from detailed incident reports

예시 워크플로

입력

User asks: Summarize this 600-word architecture document in 80 words

에이전트
  1. 1

    Pass source text to cod-iteration agent as iteration 1 to produce a sparse base summary

  2. 2

    Parse the Missing_Entities line and Denser_Summary from the response

  3. 3

    Pass both the previous summary and original source to cod-iteration for iterations 2 through 5

  4. 4

    Track accumulated entities across all iterations

  5. 5

    Return the final dense summary and optionally the full iteration history

출력

An 80-word summary containing 9+ specific entities from the source, with optional YAML history showing entity accumulation per pass

설치

clawhub install killerapp/chain-of-density

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크