If you have .CIF file, creation of POSCAR is straightforward. However, creating input file (POSCAR) from xyz file format is some time tedious. This can be done using VESTA package.
Procedure.
1. First, open the .xyz file, say carbon_cluster.xyz.
2. Create a suitable unit-cell
3. Export as "VASP input file" (don't close the vesta project. this is needed again for the next step). Say you save this file as 'vasp.poscar' In this case you will not get any coordinates. But, you will get the structure of VASP input file (the unitcell specification may be wrong. Make necessary change in the unitcell size. At present there is no information on the atom type and coordinates. (Simply, you may create this file directly and skip to the next step). Rember, now we have 'vasp.poscar'
4. Now, go the vesta project, and export as xyz-coordinates. Now, you will get the vesta-created xyz file. As you know, xyz-coordinates have the information of atom time. Now copy all the coordinates (except the atom type). Paste these coordinates in vasp.poscar. Also modify the number of atoms for each type of atom.
5. Now, if you open this file vasp.poscar, you will see a unitcell. If there are extra atoms outside the unit-cell, remove them manually by selecting each atom. Make sure that all the atoms outside the unit-cell is removed.
6. Now, export and save as POSCAR.vasp which can be used in VASP calculations (as POSCAR file).
If this is not clear, let me know in the comments. I will elaborate on this.