소스 정보
- 저장소
- agent0ai/space-agent
- 최근 소스 활동
- 2026년 4월 15일 18:32
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1,385
- 포크
- 318
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/agent0ai/space-agent --skill user-management명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
Read the supplemental project documentation module
Frontend development router. Load deeper skills before editing
Use the frontend API surface correctly for app files, discovery, identity, and permission-aware browser data access.
| name | User Management |
| description | Create, update, and remove users and memberships |
| metadata | {"when":{"tags":["onscreen"]}} |
Use this skill when the user asks to create a user, remove a user, change a user's full name, reset a password, revoke sessions, or explain how user account files are organized.
L2/<username>/ is the user's root folder. If this folder is deleted, the local account data and user customware are removed.L2/<username>/user.yaml stores user metadata. full_name belongs here.L2/<username>/meta/password.json stores the backend-sealed SCRAM verifier used by login.L2/<username>/meta/logins.json stores signed session verifiers. Writing {} here revokes current sessions.L2/<username>/mod/ is the optional user customware root.There is no separate user registry file. The watched user index is derived from the files under L2/<username>/.
/, for example await space.api.fileWrite("L2/alice/") or await space.api.fileWrite("L2/alice/mod/").fileWrite(...) also supports incremental object-form writes such as operation: "append", "prepend", or "insert" when you only need to place text without rewriting the whole file.await space.api.fileDelete(path). Directory deletes are recursive.await space.api.call("password_generate", { method: "POST", body: { password } }) to create a fresh sealed password record before writing meta/password.json.meta/password.json or individual session entries. The backend secret must sign or seal them.space.utils.yaml.parse() and space.utils.yaml.stringify() when editing user.yaml or group.yaml.Use await space.api.fileList("L2/", false). Each direct child directory is one user root.
Use a single path-safe username segment such as alice or qa_bot. Then:
const username = "alice";
const fullName = "Alice Example";
const password = "replace-me";
const verifier = await space.api.call("password_generate", {
method: "POST",
body: { password }
});
return await space.api.fileWrite({
files: [
{ path: `L2/${username}/` },
{ path: `L2/${username}/mod/` },
{
path: `L2/${username}/user.yaml`,
content: space.utils.yaml.stringify({ full_name: fullName })
},
{
path: `L2/${username}/meta/password.json`,
content: `${JSON.stringify(verifier, null, 2)}\n`
},
{
path: `L2/${username}/meta/logins.json`,
content: "{}\n"
}
]
});
Read L2/<username>/user.yaml, parse it, update full_name, and write it back.
const path = "L2/alice/user.yaml";
const current = await space.api.fileRead(path);
const config = space.utils.yaml.parse(current.content || "");
config.full_name = "Alice Example";
return await space.api.fileWrite(path, space.utils.yaml.stringify(config));
Write a new sealed verifier record to L2/<username>/meta/password.json.
const username = "alice";
const verifier = await space.api.call("password_generate", {
method: "POST",
body: { password: "new-password" }
});
return await space.api.fileWrite(
`L2/${username}/meta/password.json`,
`${JSON.stringify(verifier, null, 2)}\n`
);
If the user also wants to sign the user out everywhere, overwrite L2/<username>/meta/logins.json with {} in the same batch write. Do not attempt to write individual session entries yourself.
Deleting L2/<username>/ removes the local account files:
return await space.api.fileDelete("L2/alice/");
If the user also wants membership cleanup, inspect writable L1/*/group.yaml files and remove that username from:
included_usersmanaging_usersThose group files are the canonical membership and manager records. Deleting only the user folder does not rewrite group configs automatically.