application/skills/retrieve/SKILL.md
Search a knowledge base using Amazon Bedrock RAG (Retrieval-Augmented Generation). Use when users want to find information from uploaded documents, ask questions about stored knowledge, or retrieve relevant content from the knowledge base. Returns matched content with source references and URLs.
npx skillsauth add kyopark2014/agent-plugins retrieveInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search and retrieve relevant documents from an Amazon Bedrock Knowledge Base using RAG.
Use the retrieve script to query the knowledge base by keyword:
import subprocess
result = subprocess.run(['python', 'scripts/retrieve_search.py', 'keyword'],
capture_output=True, text=True, cwd='retrieve')
print(result.stdout)
The retrieve script is located at skills/retrieve/scripts/retrieve_search.py relative to the application working directory.
IMPORTANT: Always use the FULL path skills/retrieve/scripts/retrieve_search.py — do NOT shorten to scripts/retrieve_search.py.
# Search for information about a topic
result = subprocess.run(['python', 'scripts/retrieve_search.py', '클라우드 아키텍처'],
capture_output=True, text=True, cwd='retrieve')
# Search for technical documentation
result = subprocess.run(['python', 'scripts/retrieve_search.py', 'API authentication'],
capture_output=True, text=True, cwd='retrieve')
# Search for explanations
result = subprocess.run(['python', 'scripts/retrieve_search.py', '보안 정책'],
capture_output=True, text=True, cwd='retrieve')
The script returns a JSON array. Each element contains:
[
{
"contents": "matched text from the knowledge base",
"reference": {
"url": "https://...",
"title": "document_name.pdf",
"from": "RAG"
}
}
]
The script reads from config.json in the application root directory. Required fields:
{
"region": "us-west-2",
"projectName": "my-project",
"knowledge_base_id": "KB_ID",
"sharing_url": "https://sharing-base-url",
"aws": {
"access_key_id": "optional",
"secret_access_key": "optional",
"session_token": "optional"
}
}
retrieve API with vector searchResourceNotFoundException by automatically looking up the knowledge base by project nameThe script requires:
boto3 - for AWS Bedrock API callsbotocore - for AWS exception handling (included with boto3)Install dependencies:
pip install boto3
development
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
tools
Amazon Bedrock 기반 PowerPoint(.pptx) 번역. 서식·레이아웃·차트 메타(제목/축 등)를 보존하며 텍스트를 한국어(ko) 등 대상 언어로 변환. CLI(`python -m ppt_translator.cli`)·SQLite 캐시·용어집· 원문 언어 자동 감지. PPT/슬라이드 번역, pptx 한국어, Bedrock 프레젠테이션 번역, batch translate, dry-run 비용 추정.
development
Generate a account status report by taking an account name, analyze spend trends and AWS account mappings, create an HTML report, render chart image for email compatibility, ask recipient email after report completion, and send immediately without reconfirmation. All analysis and email narrative must be in Korean.
data-ai
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.