본문으로 건너뛰기
Skillpedia
에이전트5.4k · #14872

self-awareness

하는 일

이 스킬은 에이전트가 자신의 작업 공간을 살펴보게 합니다. 사용 가능한 호스트 기능, 프로젝트 파일, 실행 중인 세션을 포함합니다. Open-Science 환경에서 에이전트가 쓸 수 있는 것을 찾아야 하는 사람들을 위한 것입니다.

사용하는 경우

  • ✓에이전트가 작업을 시도하기 전에 어떤 기능이 켜져 있는지 알아야 할 때.
  • ✓사용자가 현재 프로젝트에서 특정 파일이나 데이터셋 버전을 찾고 싶을 때.
  • ✓사용자가 이전 세션의 기록을 다시 읽어 무슨 일이 있었는지 보기를 원하는 경우.

스킬 링크

https://github.com/aipoch/open-science/blob/main/resources/skills/self-awareness/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/aipoch/open-science/blob/main/resources/skills/self-awareness/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 프로젝트에서 어떤 호스트 기능이 사용 가능한지 확인하고, 최신 데이터셋 버전을 찾아 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 제어 환경에서 기능 확인 호출을 실행합니다. 그다음 프로젝트 파일, 세션, 기록을 찾아보고 찾은 내용을 보고합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Self-awareness

Use repl_execute for every host.* call. The host object exists only in the persistent JavaScript control REPL; Python and R data kernels do not receive it.

Inspect available capabilities

const caps = await host.capabilities()

The current project-native result contains 20 known boolean keys:

  • mcp gates connector calls through host.mcp(server, method, args?).
  • compute gates the host.compute namespace.
  • agents gates the host.agents namespace.
  • skills gates the host.skills namespace.
  • artifacts gates managed-file discovery through host.artifacts(options?) and exact path resolution through host.artifactPath(versionId).
  • lineage gates the read-only host.lineage namespace.
  • frames gates the read-only host.frames namespace.
  • sessions gates Main-only, read-only Session diagnostics through host.sessions.list(options?) and exact lookup through host.sessions.inspect(sessionId) in the current Project.
  • llm gates one-shot, tool-less inference through host.llm(request, options?).
  • currentModel gates exact current-model lookup through host.currentModel(). It returns the calling Session's exact current model id and fails when the live backend cannot establish one.
  • listModels gates configured Host LLM model discovery through host.listModels(). It returns the frozen, stable-sorted configured model ids for the current Host LLM Provider and framework. It never refreshes over the network or merges ids across Providers.
  • viewImage gates transient image attachment through host.viewImage(source, options?). Sources may be an Artifact or Upload Version in the current Project, or a path relative to the current execution workspace. For a generated file, pass the same relative path used to save it.
  • delegate, children, collect, stopChild, and resolveMessage are Main/root-only delegated work operations.
  • sendFrameMessage and messageReceipt are available to Main/root and Delegate agents when their trusted route is provisioned.
  • submitOutput is available only to an authenticated Delegate Attempt with an admitted output schema.

Newer runtimes may return additive boolean keys. Do not assume their meaning until their matching Skill documents them. Older runtimes can omit known keys.

Interpret every key narrowly:

  • true means the current session capability authorizes the namespace and the application has its handler configured. It does not mean a resource exists, approval is unnecessary, or a call will succeed.
  • false means the capability name is known but unavailable to this caller.
  • A missing key means this runtime does not know that capability. Test with === true.
const caps = await host.capabilities()
if (caps.compute === true) {
  const availableHosts = await host.compute.listHosts()
}

if (caps.llm === true) {
  const result = await host.llm('Summarize the current findings.')
}

if (caps.currentModel === true) {
  const sessionModel = await host.currentModel()
}

if (caps.listModels === true) {
  const hostLlmModels = await host.listModels()
}

if (caps.sessions === true) {
  const recentSessions = await host.sessions.list({ limit: 20 })
}

if (caps.viewImage === true) {
  await host.viewImage({ path: 'results/plot.png' }, { maxSize: 1200 })
}

if (caps.sendFrameMessage === true) {
  await host.sendFrameMessage('parent', 'The analysis is ready.')
}

Do not infer capabilities by reflecting over host, and do not treat this result as a resource, credential, permission, or readiness inventory. Call it again when current availability matters; each call returns a fresh frozen projection.

host.help() documents registered topics only. A not_found result identifies missing Help documentation: not_found does not override host.capabilities() or prove that a method is absent.

Discover managed Project files

When caps.artifacts === true, use await host.artifacts(options) to list generated Artifacts and user Uploads across the current Project. Optional camelCase fields are versionId, frameId, filename, exact, search, contentType, after, before, cursor, and limit (default 20, maximum 100). versionId is exclusive; exact requires filename; search and filename cannot be combined. contentType accepts an exact MIME type or a top-level prefix such as text/. Bare dates are UTC midnight, after is inclusive, and before is exclusive

자주 묻는 질문

제 프로젝트를 바꾸나요?

아닙니다. 호출 중 여럿은 읽기 전용입니다. 예를 들어 세션 목록 보기와 기록 읽기가 있습니다.

어디에서 실행되나요?

호스트 객체는 JavaScript 제어 환경에만 있으므로, 거기에서만 실행됩니다.

모델을 호출할 수 있나요?

프로젝트에서 그 기능이 켜져 있을 때만 가능합니다. 스킬은 이를 별도의 기능으로 나열합니다.

상세 정보

작성자의 원본 설명

Inspect Open-Science's JavaScript control REPL, discover managed Project files, Sessions, and Agent Frames, and safely feature-gate host.* calls with host.capabilities(). Use when an Agent needs to discover available host APIs, locate an Artifact or Upload Version, diagnose a Session, or read a Frame transcript in the current Project.

repo: aipoch/open-science

인기도

GitHub 스타
5.4k
순위
#14872
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬