AGENT SKILL

joseon-sillok-search

Search Joseon Dynasty Annals records from the official sillok.history.go.kr site with keyword search plus optional king/year narrowing.

License 许可
MIT
最近更新
2026-07-18
Stars
★ 0
Forks
1

01 前言 Front Matter

name
joseon-sillok-search
license
MIT
metadata
{ "phase": "v1", "locale": "ko-KR", "category": "history" }
description
Search Joseon Dynasty Annals records from the official sillok.history.go.kr site with keyword search plus optional king/year narrowing.

03 SKILL.md 正文

조선왕조실록 검색

What this skill does

국사편찬위원회 조선왕조실록 사이트(https://sillok.history.go.kr)에서 공식 검색 결과 HTML과 기사 상세 페이지를 직접 읽어 조선왕조실록 기록을 찾는다.

v1 범위는 단순 스크래핑이다.

  • 키워드 검색
  • 선택적 왕별 필터(--king)
  • 선택적 서기 연도 필터(--year)
  • 검색 결과 제목/요약/원문 링크 정리
  • 기사 상세 페이지에서 국역/원문 excerpt 추출

When to use

  • "조선왕조실록에서 훈민정음 찾아줘"
  • "세종 때 실록에서 측우기 관련 기사 검색해줘"
  • "1443년 조선왕조실록 기록 찾아줘"
  • "정조실록에서 수원 관련 기록 몇 개 보여줘"

Prerequisites

  • 인터넷 연결
  • python3
  • 별도 API 키 없음
  • 설치된 skill payload 안에 scripts/sillok_search.py helper가 함께 들어 있다.

Inputs

  • 필수: 검색어
  • 선택: 왕 이름 (세종, 정조, 세종실록 등)
  • 선택: 서기 연도 (1443 같이 Gregorian year)
  • 선택: 결과 수 (--limit)
  • 선택: 검색 타입 (--type k|w)
    • k: 국역 검색
    • w: 원문 검색

Workflow

  1. python3 scripts/sillok_search.py --query "..." 로 공식 검색 endpoint를 호출한다.
  2. 검색 결과 HTML에서 결과 수, 왕별 분류, 기사 링크, 요약을 파싱한다.
  3. 필요하면 --king, --year 로 결과를 추가로 좁힌다.
  4. 선택된 기사마다 /id/<article_id> 상세 페이지를 열어 국역/원문 excerpt를 가져온다.
  5. 구조화된 JSON으로 반환한다.

CLI examples

python3 scripts/sillok_search.py --query "훈민정음"
python3 scripts/sillok_search.py --query "훈민정음" --king "세종" --year 1443 --limit 3
python3 scripts/sillok_search.py --query "측우기" --king "세종실록" --limit 5
python3 scripts/sillok_search.py --query "임진왜란" --type w --limit 5

Response policy

  • 결과는 공식 실록 사이트에서 확인한 기사 제목 + 링크 + 요약 + 상세 excerpt 중심으로 답한다.
  • --year 는 서기 연도 기준으로 필터링한다.
  • 입력한 왕 이름은 세종, 세종실록처럼 조금 달라도 canonical 왕명으로 정규화한다.
  • v1 에서는 semantic search, embedding, 대규모 색인 구축을 하지 않는다.
  • 결과가 없으면 억지로 추정하지 말고 빈 결과를 그대로 알려준다.

Done when

  • 공식 사이트에서 실제 검색 결과가 1건 이상 조회되었다.
  • 필요 시 왕/연도 필터가 적용되었다.
  • 적어도 하나 이상의 기사 detail excerpt가 포함되었다.
  • 링크가 https://sillok.history.go.kr/id/... 형태로 정리되었다.

Notes

  • 공식 메인: https://sillok.history.go.kr
  • 검색 endpoint: https://sillok.history.go.kr/search/searchResultList.do
  • 기사 상세: https://sillok.history.go.kr/id/<article_id>
  • 이 저장소 v1 은 공개 HTML 표면만 사용한다.

04 同仓库更多 Skills

om-scogo
om-scogo/skillsh-scraper

arxiv-search

Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.

★ 0
om-scogo
om-scogo/skillsh-scraper

arxiv-search

Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.

★ 0
om-scogo
om-scogo/skillsh-scraper

working-with-legacy-code

Safely change and test untested codebases using Feathers' "Working Effectively with Legacy Code". Use when the user mentions "legacy code", "no tests", "untested codebase", "how do I test this", "seams", "characterization tests", "golden master", "sprout method", "afraid to change this code", "monster method", "dependency breaking", or "inherited a messy codebase". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout/wrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.

★ 0
om-scogo
om-scogo/skillsh-scraper

working-with-legacy-code

Safely change and test untested codebases using Feathers' "Working Effectively with Legacy Code". Use when the user mentions "legacy code", "no tests", "untested codebase", "how do I test this", "seams", "characterization tests", "golden master", "sprout method", "afraid to change this code", "monster method", "dependency breaking", or "inherited a messy codebase". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout/wrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.

★ 0
om-scogo
om-scogo/skillsh-scraper

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.

★ 0
om-scogo
om-scogo/skillsh-scraper

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.

★ 0